Restituisce AuthenticationAlgorithm del repository schema.
Restituisce un AuthenticationAlgorithm valido, a meno che non si verifica un'eccezione (ad esempio, a causa di una comunicazione non riuscita con il repository schema). Richiamare questo metodo non richiede privilegi speciali.
VBScript
adminSession.GetAuthenticationAlgorithm()
Perl
$adminSession->GetAuthenticationAlgorithm();
VBScript
' set the admin session ... set adminSession = CreateObject("ClearQuest.AdminSession") adminSession.Logon "admin", "admin", "" ' check preferred authentication algorithm: Dim cquser2 ' a user object Dim authAlg ' the authentication algorithm value authAlg = adminSession.GetAuthenticationAlgorithm() StdOut "Authentication algorithm: " & CStr(authAlg) & vbCrLf
Perl
use CQPerlExt; #Create a Rational ClearQuest admin session $adminSession = CQAdminSession::Build(); #Logon as admin $adminSession->Logon( "admin", "admin", "" ); $adminSession->GetAuthenticationAlgorithm(); # ... CQAdminSession::Unbuild($adminSession);