スキーマ リポジトリの 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);