PolicyGrant
public class PolicyGrant : SdkObject
Document access granted by a policy.
For use with SDK.document.encrypt
.
The triple (category
, sensitivity
, dataSubject
) maps to a single policy rule. Each policy
rule may generate any number of users/groups.
-
Constructs a
PolicyGrant
.Declaration
Swift
public convenience init?( category: Category?, sensitivity: Sensitivity?, dataSubject: DataSubject?, substituteUser: UserId? )
Parameters
category
Category for the policy
sensitivity
Sensitivity for the policy
dataSubject
Subject for the policy
substituteUser
Replaces
%USER%
in a matched policy rule -
Constructs an empty policy
Declaration
Swift
public convenience init()