ILogonSession.LogonCredentials

Syntax

LogonCredentials: ICredentials;

Description

The LogonCredentials property returns credentials, used for logging on.

Example

Sub Main;

Var

MB: IMetabase;

LogSes: ILogonSession;

Cr: ICredentials;

Begin

MB:=MetabaseClass.Active;

LogSes:=MB.LogonSession;

Cr:=LogSes.LogonCredentials;

End Sub Main;

After executing the example the "Cr" variable contains the credentials of the current user that were used when logging on the repository.

See also:

ILogonSession