Credentials: ICredentials;
The Credentials property determines the repository user account.
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: