Returns the AuthenticationAlgorithm of the schema repository.
Returns a valid AuthenticationAlgorithm unless an exception is thrown (for example, due to a communication failure with the schema repository). Calling this method does not require special privileges.
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; # Créez une session admin Rational ClearQuest $adminSession= CQAdminSession::Build(); #Connectez-vous en tant qu'admin $adminSession->Logon( "admin", "admin", "" ); $adminSession->GetAuthenticationAlgorithm(); # ... CQAdminSession::Unbuild($adminSession);