Applies a security policy template to the given object. The specified value for the
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:
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)
Syntax
Visual Basic (Declaration) |
---|
Sub ApplySecurityTemplate( _ ByVal applyStateId As Id _ ) |
C# |
---|
void ApplySecurityTemplate( Id applyStateId ) |
C++ |
---|
void ApplySecurityTemplate( Id applyStateId ) abstract |
J# |
---|
void ApplySecurityTemplate( Id applyStateId ) |
JScript |
---|
function ApplySecurityTemplate( applyStateId : Id ) |
Parameters
- applyStateId
- An
object representing the unique identifier of the security template to apply.Id