ISecurityConnection.Credentials

Syntax

Credentials: ICredentials;

Description

The Credentials property returns credentials of the user, with whom this connection is performed.

Example

Sub Main;

Var

MB: IMetabase;

LoS: ILogonSession;

User: ISecurityConnection;

Cr: ICredentials;

Begin

MB:=MetabaseClass.Active;

LoS:=MB.LogonSession;

User:=LoS.PrimaryConnection;

Cr:=User.Credentials;

End Sub Main;

After executing the example credentials of the user, with whom the connection to the current repository is performed, are obtained.

See also:

ISecurityConnection