IMetabasePolicy.RevertToStandardMode

Syntax

RevertToStandardMode;

Description

The RevertToStandardMode method disables the mode of distributing roles between information security administrator and application administrator.

Example

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

Sub UserProc;
Var 
    MB: IMetabase;
    MS: IMetabaseSecurity;
    Policy: IMetabasePolicy;
    Lic: Object;
Begin
    MB := MetabaseClass.Active;
    
// Check out license to work with security manager
    Lic := MB.RequestLicense(UiLicenseFeatureType.Adm);
    MS := MB.Security;
    Policy := MS.Policy;
    
// Disable the administrator role distribution mode
    Policy.RevertToStandardMode;
    
// Save changes
    MS.Apply;
    
// Check in license
    Lic := Null;
End Sub UserProc;

After executing the example the mode of distributing roles between information security administrator and applied administrator is disabled. The application administrator will execute all functions.

See also:

IMetabasePolicy