CreateDeferredSubjects: Boolean;
The CreateDeferredSubjects property determines whether users with lazy loading are created.
The property is set to False by default.
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;
// Enable creating of users with lazy loading
Policy.CreateDeferredSubjects := True;
// Save changes
MS.Apply;
// Check in license
Lic := Null;
End Sub UserProc;
After executing the example it will be allowed to create users with lazy loading.
See also: