Returns the co-workers of the currently authenticated user. Co-workers are all users who share at least one domain/library membership with the current user.
/srv.asmx/GetCoWorkers
/srv.asmx/GetCoWorkers?authenticationTicket=.../srv.asmx/GetCoWorkers (form data)http://tempuri.org/GetCoWorkers| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
Returns a <users> collection with one <User> element per co-worker, sorted by first name and last name ascending with full user detail.
<response success="true" error="">
<users>
<User exists="true"
UserID="456"
FirstName="Jane"
LastName="Smith"
Email="jane.smith@example.com"
Enabled="TRUE"
UserName="jsmith"
Domain="Finance"
LastLogonDate="2024-01-10"
LastPasswordChangeDate="2023-12-01"
AuthenticationAuthority="native"
ReadOnlyUser="FALSE">
<Preferences Language="English"
DefaultPortal=""
ShowArchives="FALSE"
ShowHiddens="FALSE"
NotificationType="INSTANT"
NotificationTypeId="1"
EmailType="HTML"
AttachDocumentToEmail="FALSE" />
</User>
</users>
</response>
<response success="false" error="[ErrorCode] Error message" />
Any authenticated user can call this API.
GET /srv.asmx/GetCoWorkers
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
HTTP/1.1
POST /srv.asmx/GetCoWorkers HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:GetCoWorkers>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
</tns:GetCoWorkers>
</soap:Body>
</soap:Envelope>
<User> element includes a child <Preferences> element with notification and display settings.GetCoWorkers1.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
SystemError:... |
An unexpected server-side error occurred. |