Document
object during versioning state changes. Security templates are not independently persistable to the Content Engine; they are contained in a SecurityPolicy
object. The template contains the permissions that will be applied to an object as its version state changes. A VersioningSecurityTemplate
object also has associated AccessPermissionDescription
objects, each of which provide descriptive information for an access right or level. You can enable or disable a template within its security policy container. An enabled template can be applied to an object; a disabled template remains an item in the security policy container but cannot be applied to an object.
A
object can represent either an application security template or a versioning security template, and both types can exist simultaneously in a single
object. The two template types have the same object type, but are differentiated by their use and by their class IDs (GUIDs), which are available as constants defined in the
class. An application security template must be explicitly applied by calling an object's
method; it is never automatically applied. A versioning security template is automatically applied when the state of a document version changes, and may also be explicitly applied at any time by a user or group with permission to modify the object's security (
).
If an object has no associated security policy, its permissions remain unchanged when it undergoes a versioning change. However, if the object has an associated
, its permissions are modified according to the non-disabled, applicable security templates of its
when:
- The object undergoes a versioning change (for example, a document's version status moves from in-process to released).
- The object's class changes (as the result of a call to the object's
method).ChangeClass
To create a new
object, call
on the
class. To retrieve a
object from a
object, first retrieve the
object's
property then retrieve a
object of the desired type from the returned
collection.
Namespace: FileNet.Api.Security
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IVersioningSecurityTemplate Implements ISecurityTemplate, IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
C# |
---|
public interface IVersioningSecurityTemplate : ISecurityTemplate, IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
C++ |
---|
interface class IVersioningSecurityTemplate : ISecurityTemplate, IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
J# |
---|
public interface IVersioningSecurityTemplate implements ISecurityTemplate, IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
JScript |
---|
public interface IVersioningSecurityTemplate extends ISecurityTemplate, IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
Remarks
Metadata
Auditable: false
AllowsInstances: true
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: true
IsHidden: false
Searchable: false
StorageType: ObjectStore
SuperclassName: SecurityTemplate