You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > User Class > User Methods > GetUsers Method > GetUsers
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
User.GetUsers Method (long, string)

Loads the all the users from the given group. 

This method can be accessed through the User.asmx file located in:

~/Workarea/webservices/WebServiceAPI/User/User.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetUsers By GroupID and OrderBy", Description = "")]
public UserData[] GetUsers(long GroupId, string OrderBy);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetUsers By GroupID and OrderBy", Description = "")>
Public Function GetUsers(GroupId As long, OrderBy As string) As UserData()
Parameters 
Description 
GroupId 
The group's ID 
OrderBy 
The order of the users. The string value can be:
  • username
  • firstname
  • lastname
  • userid
  • language
  • datecreated
  • lastlogindate 

Ektron.Cms.UserData()

A user with administrator privileges must be logged in to perform this operation.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!