"usertype" MDO List
Some tooltip text!
• 1 minute to read
• 1 minute to read
Simple, hard-coded provider for the associate type: Employee, ExternalPerson, Resource, Anonymous, System, Invalid User Type
Implemented by the
Sample Request
GET /api/v1/MDOList/usertype
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("usertype", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
Console.WriteLine("{0} {1} {2} {3}",
item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}
Sample Output
Id | Name | StyleHint | ExtraInfo |
---|---|---|---|
0 | Associate | ||
4 | External | ||
1 | Resource | ||
7 | Anonymous | ||
13 | System | ||
-1 | Not a user |
Related MDO Lists
- "usertypeheadings"
- "usertypeheadingswithallitem"
- "usertypeheadingswithallitemwithnoselection"
- "usertypeheadingswithnoselection"
- "usertypewithallitem"
- "usertypewithallitemwithnoselection"
- "usertypewithnoselection"