스키마 저장소의 AuthenticationAlgorithm을 리턴합니다.
예외가 발생하지 않는 한(예를 들어, 스키마 저장소에서의 통신 장애로 인해) 올바른 AuthenticationAlgorithm이 리턴됩니다. 이 메소드를 호출할 때에는 특수 권한이 필요하지는 않습니다.
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);