Ektron.Cms.Framework.User.UserGroupManager

Framework API class for managing User Groups withing the CMS.

Properties
UserGroupService Returns an instance of the business objects user service.
Method Description
UserGroupManager Constructor
UserGroupManager(ApiAccessMode) Constructor
Add(UserGroupData) Adds a new UserGroup, with details from the supplied UserGroupData object.
Update(UserGroupData) Updates a UserGroup, with details from the supplied UserGroupData object.
Delete(Int64) Deletes an existing UserGroup.
AddUser(Int64,Int64) Adds a user to a group
DeleteUser(Int64,Int64) Deletes a user from a group
GetItem(Int64) Returns details of a UserGroup.
GetList(UserGroupCriteria) Returns a list of UserGroups that fit the supplied criteria.
IsUserInGroup(Int64,Int64) Determines if the user is in the specified group
GetListForUser(Int64,GroupOrderBy) Returns all the groups to which user belongs
GetListForUser(Int64,UserGroupCriteria) Returns all the groups to which user belongs