Adds an existing infoRouter user to the member list of the specified domain/library. Once added as a member, the user gains access to the domain’s content according to the domain’s permissions configuration.
/srv.asmx/AddUserAsDomainMember
/srv.asmx/AddUserAsDomainMember?authenticationTicket=...&DomainName=...&UserName=.../srv.asmx/AddUserAsDomainMember (form data)http://tempuri.org/AddUserAsDomainMember| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
DomainName |
string | Yes | Name of the domain/library to add the user to. |
UserName |
string | Yes | Username of the user to add as a domain member. |
<response success="true" error="" />
<response success="false" error="[ErrorCode] Error message" />
Domain manager or system administrator. The calling user must be a manager of the target domain or a system administrator.
GET /srv.asmx/AddUserAsDomainMember
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=Finance
&UserName=jdoe
HTTP/1.1
POST /srv.asmx/AddUserAsDomainMember HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=Finance
&UserName=jdoe
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:AddUserAsDomainMember>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:DomainName>Finance</tns:DomainName>
<tns:UserName>jdoe</tns:UserName>
</tns:AddUserAsDomainMember>
</soap:Body>
</soap:Envelope>
AddUserGroupAsDomainMember.RemoveUserFromDomainMembership to remove a user from the domain.GetDomainMembers to retrieve the current member list.| 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 DomainName does not exist. |
| User not found | The specified UserName does not exist in the system. |
| Already a member | The user is already a member of the domain. |
SystemError:... |
An unexpected server-side error occurred. |