GetAuthenticationAlgorithm

Description

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.

Syntax

Perl


$adminSession->GetAuthenticationAlgorithm(); 
Identifier
Description
adminSession
The AdminSession object representing the current schema repository access session.
Return value
Returns a Long containing the AuthenticationAlgorithm of the schema repository.

Example

Perl

use CQPerlExt;
#Create a DevOps Plan admin session
$adminSession = CQAdminSession::Build();
#Logon as admin
$adminSession->Logon( "admin", "admin", "" );
$adminSession->GetAuthenticationAlgorithm();
# ...
CQAdminSession::Unbuild($adminSession);