View Source
Class UserGroupsController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class UserGroupsController : UmbracoAuthorizedJsonController, IDiscoverable
Methods
View Source
GetEmptyUserGroup()
Returns the scaffold for creating a new user group
Declaration
public UserGroupDisplay GetEmptyUserGroup()
Returns
View Source
GetUserGroup(Int32)
Declaration
public UserGroupDisplay GetUserGroup(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
View Source
GetUserGroups(Boolean)
Declaration
public IEnumerable<UserGroupBasic> GetUserGroups(bool onlyCurrentUserGroups = true)
Parameters
Type |
Name |
Description |
System.Boolean |
onlyCurrentUserGroups |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<UserGroupBasic> |
|
View Source
PostDeleteUserGroups(Int32[])
Declaration
public HttpResponseMessage PostDeleteUserGroups(int[] userGroupIds)
Parameters
Type |
Name |
Description |
System.Int32[] |
userGroupIds |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
PostSaveUserGroup(UserGroupSave)
Declaration
public UserGroupDisplay PostSaveUserGroup(UserGroupSave userGroupSave)
Parameters
Returns