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)

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 Id object representing the unique identifier of the security template to apply.

See Also