Represents a collection of Users that share the same Security Permissions.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IUserGroup type exposes the following members.
Properties
Name | Description | |
---|---|---|
Created |
Gets the entity's creation date.
(Inherited from IEntity.) | |
CreationUser |
Gets the ID of the User who created this entity.
(Inherited from IEntity.) | |
LastModified |
Gets the date when the entity was most recently modified.
(Inherited from IEntity.) | |
LastModifiedUser |
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.) | |
Name |
Gets and sets the entity's name.
(Inherited from IEntity.) | |
Session |
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.) | |
SessionId |
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.) | |
UserRights |
Gets and sets the Security Permissions this group carries.
|
Methods
Name | Description | |
---|---|---|
AddUser |
Adds a User to this group.
| |
DenyUserRight |
Denies a specific set of permissions to this group.
| |
GrantUserRight |
Grants a specific set of permissions to this group.
| |
HasMember |
Verifies whether the specified User is a member of this group.
| |
RemoveUser |
Removes a User from this group.
| |
UserRightGranted |
Checks whether a specific set of permissions is granted to this group.
| |
Users |
Retrieves, in a paginated fashion, the collection of Users that belong to this group.
| |
UsersCount |
Gets the count of Users that belong to this group.
| |
ValidateData |
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.) | |
ValidateUserPermission |
Validates the user permission on the current entity. Implemented by concrete inheriting types.
It is called automatically upon saving an entity.
(Inherited from IEntity.) |
Events
Name | Description | |
---|---|---|
AfterEntitySave |
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.) | |
BeforeEntitySave |
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.) |
See Also