/// <summary> /// If one or more passed permissions are not allowed (undefined or denied) on every content in the whole subtree of the current content for the current user, SenseNetSecurityException will be thrown. /// </summary> /// <param name="permissionTypes">Set of related permissions. Cannot be null. Empty set means "allowed nothing" so SenseNetSecurityException will be thrown.</param> public void AssertSubtree(params PermissionType[] permissionTypes) { _securityHandler.AssertSubtree(_node, permissionTypes); }