Click or drag to resize

IGroup Interface

Manage an AskiaPortal group of users

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public interface IGroup : IGroupBase, IOwnerEntity, 
	IOwnerEntityBase, IEntityBase

The IGroup type exposes the following members.

Properties
  NameDescription
Public propertyCreatedAt
Get the date of the creation
(Inherited from IOwnerEntityBase.)
Public propertyCreatedBy
Get the id of the user who have create the entity
(Inherited from IOwnerEntityBase.)
Public propertyDeletedAt
Get the date of deletion
(Inherited from IOwnerEntityBase.)
Public propertyDeletedBy
Get the id of the user who have delete the entity
(Inherited from IOwnerEntityBase.)
Public propertyDescription
Get or set the description of the group
(Inherited from IGroupBase.)
Public propertyId
Get the id of the current entity
(Inherited from IOwnerEntityBase.)
Public propertyIsDeleted
Indicates if the current entity is flag as deleted
(Inherited from IOwnerEntityBase.)
Public propertyName
Get or set the name of the group
(Inherited from IGroupBase.)
Public propertyParentId
Get the id of the parent group
Public propertyCode exampleReachableGroups
Indicates which groups are reachable by the group.
Public propertyUpdatedAt
Get the date of the latest update
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedBy
Get the id of the last user who have update the entity
(Inherited from IOwnerEntityBase.)
Top
Methods
  NameDescription
Public methodDelete
Flag the entity as deleted in database
(Inherited from IEntityBase.)
Public methodDelete(Boolean)
Flag an entity as deleted or definitively delete it in the database.
(Inherited from IOwnerEntity.)
Public methodCode exampleGetAllUserIds
Returns the identifiers of users members of the current group and all of his recursively sub-groups.
Public methodCode exampleGetAscendantGroupIds
Returns the identifiers of all ascendant groups.
Public methodCode exampleGetChildrenGroupIds
Returns the identifiers of groups directly children of the current group.
Public methodCode exampleGetDescendantGroupIds
Returns the identifiers of all descendant groups.
Public methodCode exampleGetUserIds
Returns the identifiers of users directly members of the current group.
Public methodCode exampleGetUsersCount
Returns the count of users directly members of the current group.
Public methodReload
Reload the entity, using the current database value. Returns successful value when the operation succeed
(Inherited from IOwnerEntity.)
Public methodRestore
Restore an entity flag as deleted
(Inherited from IOwnerEntity.)
Public methodSave
Save (create or update) an entity
(Inherited from IEntityBase.)
Public methodValidate
Validate the integrity of the entity
(Inherited from IEntityBase.)
Top
See Also