• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

"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 AssociateTypeListProvider class. The name of the MDO list is 'usertype'.

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"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top