View Source
Class MemberGroupController
An API controller used for dealing with member groups
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class MemberGroupController : UmbracoAuthorizedJsonController, IDiscoverable
Methods
View Source
DeleteById(Int32)
Declaration
public HttpResponseMessage DeleteById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetAllGroups()
Declaration
public IEnumerable<MemberGroupDisplay> GetAllGroups()
Returns
View Source
GetById(Guid)
Gets the member group json for the member group guid
Declaration
public MemberGroupDisplay GetById(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
View Source
GetById(Int32)
Gets the member group json for the member group id
Declaration
public MemberGroupDisplay GetById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
View Source
GetById(Udi)
Gets the member group json for the member group udi
Declaration
public MemberGroupDisplay GetById(Udi id)
Parameters
Type |
Name |
Description |
Udi |
id |
|
Returns
View Source
GetByIds(Int32[])
Declaration
public IEnumerable<MemberGroupDisplay> GetByIds(int[] ids)
Parameters
Type |
Name |
Description |
System.Int32[] |
ids |
|
Returns
View Source
GetEmpty()
Declaration
public MemberGroupDisplay GetEmpty()
Returns
View Source
IsMemberGroupNameUnique(Int32, String, String)
Declaration
public bool IsMemberGroupNameUnique(int id, string oldName, string newName)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
oldName |
|
System.String |
newName |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
PostSave(MemberGroupSave)
Declaration
public MemberGroupDisplay PostSave(MemberGroupSave saveModel)
Parameters
Returns