IAssetSecurityManager Interface Ingeniux CMS Content Store API

Represents the manager object that manages asset security entries.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface IAssetSecurityManager : ITransactionalEntity, 
	IDisposable

The IAssetSecurityManager type exposes the following members.

Properties

  NameDescription
Public propertyContentStore
Gets the Content Store.
(Inherited from ITransactionalEntity.)
Public propertyCurrentUser
Gets the Operating User for the Session .
(Inherited from ITransactionalEntity.)
Public propertySession
Gets the User Session that this manager instance was initiated from.
(Inherited from ITransactionalEntity.)
Top
Methods

  NameDescription
Public methodDeepCloneT, TManager
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity.)
Public methodPermission(String, EnumAssetType, IUser)
For a specific User, retrieve the highest permission for a given asset path. The permission is highest of all groups to which the user belongs, including the Everyone group.
Public methodPermission(String, EnumAssetType, IUserGroup)
For a specific UserGroup, retrieve the highest permission for a given asset path
Public methodPermissions
Retrieves all permission entries for a given asset path
Public methodQuickWrite
Creates a temporary Write Session to quickly write something outside the current Session and transaction. This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity.)
Public methodRemovePermission
Removes all permission entries for given asset path.
Public methodRenameAsset
Carries out security entry updates when asset path is renamed or moved
Public methodSetPermission
Sets permission for given asset path.
Top
Remarks

Like all manager objects, instances of this manager will be retrieved from an IUserSession object. The manager object only works within that session object.

C#
using (IUserSession session = store.OpenReadSession(currentUser))
{
    IAssetSecurityManager assetSecurityManager = session.AssetSecurityManager;
    ...
}
See Also

Reference