IMetabaseSecurity.ResolveName

Syntax

ResolveName(SubjectName: String): ISecuritySubject;

Parameters

SubjectName - a security subject name.

Description

The ResolveName method returns parameters of security subject, which name is passed as the SubjectName parameter.

Comments

If the security subject does not exist, the method returns Null.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

SS: ISecuritySubject;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

SS:=MS.ResolveName("user99");

End Sub Main;

After executing the example the "SS" variable contains a security subject named "user99".

See also:

IMetabaseSecurity