Authentication: AuthenticationMode;
The Authentication property returns a type of authentication that is used when connecting to the account.
Sub Main;
Var
MB: IMetabase;
LoS: ILogonSession;
Sc: ISecurityConnection;
Cr: ICredentials;
Au: Integer;
Begin
MB:=MetabaseClass.Active;
LoS:=MB.LogonSession;
Sc:=LoS.PrimaryConnection;
Cr:=Sc.Credentials;
Au:=Cr.Authentication;
End Sub Main;
After executing the example the Au variable will contain the authentication type of the active repository.
See also: