ISecurityPackageUserData.Credentials

Syntax

Credentials: ICredentials;

Description

The Credentials property determines the repository user account.

Example

Sub Main;

Var

MB: IMetabase;

LoS: ILogonSession;

Mu: IMetabaseUser;

SPUD: ISecurityPackageUserData;

Cr: ICredentials;

Begin

MB:=MetabaseClass.Active;

LoS:=MB.LogonSession;

Mu:=Los.User;

SPUD:=Mu.PackageData;

Cr:=SPUD.Credentials;

End Sub Main;

After executing the example the Cr variable stores the user credentials of the current repository.

See also:

ISecurityPackageUserData