We have upgraded our support system to serve you better.
For Support, please go to our Momentive Support Hub located here.

Skip to main content

WEBFindUsersInRole

 

WEBFindUsersInRole

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 returns the eWeb users that have a specified role. You can also pass in a user ID to see if the user is in that role. This method is used with the Sharepoint Role Provider.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<!--Optional:-->
<ns:Token>d1aca8d6-48cb-45c0-97ab-0af8b1d8a1d4</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBFindUsersInRole>
<!--Optional:-->
<ns:roleName>SD CommCD</ns:roleName>
<!--Optional:-->
<ns:usernameToMatch></ns:usernameToMatch>
</ns:WEBFindUsersInRole>
</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>d1aca8d6-48cb-45c0-97ab-0af8b1d8a1d4</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBFindUsersInRoleResponse xmlns="http://www.avectra.com/2005/">
<WEBFindUsersInRoleResult>
<Results recordReturn="3">
<Result>
<username>82457</username>
</Result>
<Result>
<username>82495</username>
</Result>
<Result>
<username>82572</username>
</Result>
</Results>
</WEBFindUsersInRoleResult>
</WEBFindUsersInRoleResponse>
</soap:Body>
</soap:Envelope>

 

Was this article helpful?
0 out of 0 found this helpful