Returns a list of local user groups defined within the specified domain/library, sorted alphabetically by group name.
/srv.asmx/GetLocalGroups
/srv.asmx/GetLocalGroups?authenticationTicket=...&DomainName=.../srv.asmx/GetLocalGroups (form data)http://tempuri.org/GetLocalGroups| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
DomainName |
string | Yes | The name of the domain/library whose local groups will be returned. |
Returns a <usergroups> collection with one <usergroup> element per local group, sorted alphabetically by group name.
<response success="true" error="">
<usergroups>
<usergroup GroupID="55"
GroupName="FinanceAdmins"
DomainID="123"
DomainName="Finance"
public="True" />
<usergroup GroupID="56"
GroupName="FinanceReaders"
DomainID="123"
DomainName="Finance"
public="False" />
</usergroups>
</response>
<response success="false" error="[ErrorCode] Error message" />
| Attribute | Description |
|---|---|
GroupID |
Unique numeric ID of the user group. |
GroupName |
Name of the user group. |
DomainID |
Numeric ID of the domain this local group belongs to. |
DomainName |
Name of the domain this local group belongs to. |
public |
True if group membership is visible to all users; False if membership is private. |
Any authenticated user can call this API. Anonymous users are rejected.
GET /srv.asmx/GetLocalGroups
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=Finance
HTTP/1.1
POST /srv.asmx/GetLocalGroups HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=Finance
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:GetLocalGroups>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:DomainName>Finance</tns:DomainName>
</tns:GetLocalGroups>
</soap:Body>
</soap:Envelope>
GetDomainGroups.GetGlobalGroups.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
[115] Domain not found |
The specified domain/library does not exist. |
[2730] Insufficient rights. Anonymous users cannot perform this action. |
The calling user is not authenticated. |
SystemError:... |
An unexpected server-side error occurred. |