Skip to content

SetSecurityProfile

Updates the security profile of the document.

1
myDocument.SetSecurityProfile(profileName: string):Document

Parameters

string profileName
    The name of the security profile.

Returns

The current Document instance.

Remarks

The ACL inheritance change is persisted by Save or Publish. The argument accepts a domain security profile name or ID. An empty string clears inheritance; explicit ACL entries remain. This is independent of ContentType.

If the specified profile name is not found, an error is thrown.

See Also