Subjects: IMetabaseUpdateAccessSubjects;
The Subjects property determines security subjects, for which object access permissions are transferred.
Executing the example requires the C:\Update.pefx update file. The file must contain the update by access permissions.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Update: IMetabaseUpdate;
Begin
MB := Params.Metabase;
Update := MB.CreateUpdate();
Update.LoadFromFileNF("D:\"+ "Update.pefx", UpdateLoadMode.ulmReplace);
System.Diagnostics.Debug.WriteLine(Update.Subjects.Count);
End Sub;
After executing the example the console window displays the number of security subjects, for which object access permissions are transferred.
See also: