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

"usergroupwithhistoryall" MDO List

Some tooltip text!
• 1 minute to read
 • 1 minute to read

List provider for the UserGroup table. While this table looks like an MDO table, it lacks the standardized grouplink and headinglink companion tables (for good reason, since it is the group table itself).

This provider includes the 'History' and 'All' choices, with id's -1 and -2. The (actually, the subchannel), used in the Assign To dialog, has a groupRestrictionId restriction that correctly decodes these special values.

Implemented by the UserGroupWithHistoryAllProvider class. The name of the MDO list is 'usergroupwithhistoryall'.

Sample Request

GET /api/v1/MDOList/usergroupwithhistoryall
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("usergroupwithhistoryall", 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
-1 History
-2 All users
0
2 Salg
4 Tjenester
3 Service
5 Markedsføring
1 Administrasjon
6 Testgruppe1
7 Testgruppe2

Related MDO Lists

  • "usergroupwithhistoryallheadings"
  • "usergroupwithhistoryallheadingswithallitem"
  • "usergroupwithhistoryallheadingswithallitemwithnoselection"
  • "usergroupwithhistoryallheadingswithnoselection"
  • "usergroupwithhistoryallwithallitem"
  • "usergroupwithhistoryallwithallitemwithnoselection"
  • "usergroupwithhistoryallwithnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top