Applies a security policy template to the given object. The specified value for the
applyStateId parameter
must match the value of the ApplyStateID property of one of the templates in the security policy
for the object. For a versioning security template, the apply state ID can be one of the following:
- VersionStatusId.IN_PROCESS
- VersionStatusId.RELEASED
- VersionStatusId.RESERVATION
- VersionStatusId.SUPERSEDED
For an application security template, the apply state ID is defined by your application.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Sub ApplySecurityTemplate ( _
applyStateId As Id _
) |
C# |
---|
void ApplySecurityTemplate(
Id applyStateId
) |
Visual C++ |
---|
void ApplySecurityTemplate(
Id^ applyStateId
) |
JavaScript |
---|
function applySecurityTemplate(applyStateId); |
Parameters
- applyStateId
- Type: FileNet.Api.Util..::.Id
An Id object representing the unique identifier of the security template
to apply.