Devuelve el AuthenticationAlgorithm del repositorio de esquemas.
Devuelve un AuthenticationAlgorithm válido, a menos que se lance una excepción (por ejemplo, debido a una anomalía de comunicación con el repositorio de esquemas). Para llamar a este método no se requieren privilegios especiales.
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);