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 profile is not updated until the Document.Save method is called.
If the specified profile name is not found, an error is thrown.

See Also