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
categoryCategory for the policy
sensitivitySensitivity for the policy
dataSubjectSubject for the policy
substituteUserReplaces
%USER%in a matched policy rule -
Constructs an empty policy
Declaration
Swift
public convenience init()
View on GitHub
PolicyGrant Class Reference