ResolveName(SubjectName: String): ISecuritySubject;
SubjectName - a security subject name.
The ResolveName method returns parameters of security subject, which name is passed as the SubjectName parameter.
If the security subject does not exist, the method returns Null.
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: