IPrivilege.Description

Syntax

Description: String;

Description

The Description property returns the privilege description.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MS: IMetabaseSecurity;
    MP: IMetabasePolicy;
    Priv: IPrivilege;
    S: String;
Begin
    MB := MetabaseClass.Active;
    MS := MB.Security;
    MP := MS.Policy;
    Priv := MP.Privilege(
"LOGIN");
    Debug.WriteLine(Priv.Description);
End Sub UserProc;

After executing the example the development environment console displays the description of the privilege with the LOGIN name.

See also:

IPrivilege