IAssetSecurityEntry Interface Ingeniux CMS Content Store API

Represents a security permission entry for an asset file or folder. Holds a collection of asset node-level permissions.

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

public interface IAssetSecurityEntry : IEntity, 
	IEntityEvents

The IAssetSecurityEntry type exposes the following members.

Properties

  NameDescription
Public propertyAssetPath
Gets the path of the asset for the security entry.
Public propertyAssetType
Gets the type of asset, either a file or a folder, for this security entry.
Public propertyCreated
Gets the entity's creation date.
(Inherited from IEntity.)
Public propertyCreationUser
Gets the ID of the User who created this entity.
(Inherited from IEntity.)
Public propertyLastModified
Gets the date when the entity was most recently modified.
(Inherited from IEntity.)
Public propertyLastModifiedUser
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.)
Public propertyName
Gets and sets the entity's name.
(Inherited from IEntity.)
Public propertyPermissions
Gets and sets permissions for this security entry
Public propertySession
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.)
Public propertySessionId
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.)
Top
Methods

  NameDescription
Public methodPermission(IUser)
Retrieves the highest permission for a given user. The permission is highest of all groups this User belongs to, including the Everyone group.
Public methodPermission(IUserGroup)
Retrieves the highest permission for a given UserGroup.
Public methodValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public methodValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Top
Events

  NameDescription
Public eventAfterEntitySave
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.)
Public eventBeforeEntitySave
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.)
Top
Remarks

Permissions set at the file level always override the permissions of the folder the file is in.

See Also

Reference