IAssetSecurityManager Interface |
Namespace: Ingeniux.CMS
The IAssetSecurityManager type exposes the following members.
Name | Description | |
---|---|---|
ContentStore |
Gets the Content Store.
(Inherited from ITransactionalEntity.) | |
CurrentUser |
Gets the Operating User for the Session .
(Inherited from ITransactionalEntity.) | |
Session |
Gets the User Session that this manager instance was initiated from.
(Inherited from ITransactionalEntity.) |
Name | Description | |
---|---|---|
DeepCloneT, TManager |
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity.) | |
Permission(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.
| |
Permission(String, EnumAssetType, IUserGroup) |
For a specific UserGroup, retrieve the highest permission for a given asset path
| |
Permissions |
Retrieves all permission entries for a given asset path
| |
QuickWrite |
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.) | |
RemovePermission |
Removes all permission entries for given asset path.
| |
RenameAsset |
Carries out security entry updates when asset path is renamed or moved
| |
SetPermission |
Sets permission for given asset path.
|
Like all manager objects, instances of this manager will be retrieved from an IUserSession object. The manager object only works within that session object.
using (IUserSession session = store.OpenReadSession(currentUser))
{
IAssetSecurityManager assetSecurityManager = session.AssetSecurityManager;
...
}