WEBWebUserFindUsersByUserNameFirstNameLastName
| Initial Build | 2008.01 |
| Deprecated Build | 2015.01 |
| xWeb | Web Method |
| Response Type | XML Results |
Important! Sharepoint integration is no longer supported. This method is deprecated.
This method can be used to look up an eWeb user by ID, First Name or Last Name. This is used with the Sharepoint Role Provider.
Parameters
- usernameToMatch (string).
- firstnameToMatch (string).
- lastnameToMatch (string).
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBWebUserFindUsersByUserNameFirstNameLastName>
<ns:usernameToMatch>82896</ns:usernameToMatch>
<ns:firstnameToMatch>Robert</ns:firstnameToMatch>
<ns:lastnameToMatch>Smith</ns:lastnameToMatch>
</ns:WEBWebUserFindUsersByUserNameFirstNameLastName>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
Shortened for brevity.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBWebUserFindUsersByUserNameFirstNameLastNameResponse xmlns="http://www.avectra.com/2005/">
<WEBWebUserFindUsersByUserNameFirstNameLastNameResult>
<Results recordReturn="1">
<Result>
<cst_key>207d1a31-567e-4a97-ac21-a1923a092755</cst_key>
<username>82896</username>
<ind_first_name>Robert</ind_first_name>
<ind_last_name>Smith</ind_last_name>
<ind_full_name_cp>Robert Smith</ind_full_name_cp>
<cst_web_login>bsmith</cst_web_login>
<cst_eml_address_dn>bsmith@avectra.com</cst_eml_address_dn>
<adr_city_state_code>Falls Church, VA 22043</adr_city_state_code>
</Result>
</Results>
</WEBWebUserFindUsersByUserNameFirstNameLastNameResult>
</WEBWebUserFindUsersByUserNameFirstNameLastNameResponse>
</soap:Body>
</soap:Envelope>
JSON Method
POST /xWeb/JSON/WEBWebUserFindUsersByUserNameFirstNameLastName
DATA: JSON
{
"WEBWebUserFindUsersByUserNameFirstNameLastName": {
"usernameToMatch": "{{cstRecnoWebUserCreate}}",
"firstnameToMatch": "{{indFirstNameWebUserCreate}}",
"lastnameToMatch": "{{indLastNameWebUserCreate}}"
}
}
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
"Results": {
"@recordReturn": "1",
"Result": [
{
"cst_key": "c4a8bf15-005a-4c00-8184-bbb11d7bb012",
"username": "7006",
"ind_first_name": "Lorenza",
"ind_last_name": "Huel",
"ind_full_name_cp": "Lorenza Huel",
"cst_web_login": null,
"cst_eml_address_dn": "Sedrick_Wisoky54@example.com",
"adr_city_state_code": "Taylor, VA 22102"
}
]
}
}