ISecurityLevel.Marking

Syntax

Marking: Boolean;

Description

The Marking property determines whether the object marking is enabled when exporting and printing for the objects of this security level. By default the property is set to False.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

MU: IMetabasePolicy;

MAccess: IMetabaseMandatoryAccess;

Cat: ISecurityCategory;

Lvl: ISecurityLevel;

Begin

MB := MetabaseClass.Active;

MS := MB.Security;

MU := MS.Policy;

MAccess := MU.MandatoryAccess;

Cat := MAccess.AddCategory("Category 1");

Lvl := Cat.AddLevel(0, "Level 0");

Lvl.Marking := True;

Lvl := Cat.AddLevel(1, "Level 1");

Lvl.ExportAllowed := False;

Lvl := Cat.AddLevel(2, "Level 2");

Lvl.ExportAllowed := False;

Lvl.PrintAllowed := False;

MS.Apply;

End Sub Main;

After executing this example a new category is created in mandatory access of a security manager. In this category three criticality levels are created. For each level different access parameters of export and print and also labels during export and print are assigned.

See also:

ISecurityLevel