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

WEBGetUsersInRole

 

WEBGetUsersInRole

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 all the eWeb users within a role. This is used with the Sharepoint Role Provider.

This web service uses the baseline view: vw_moss_roles_by_customer.

This web service can use a custom view. This is setup in the the system option: CustomRoleProviderViewByCustomer.

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>d0c40174-6255-4b42-8098-d66fda2a6919</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBGetUsersInRole>
<!--Optional:-->
<ns:roleName>SD CommCD</ns:roleName>
</ns:WEBGetUsersInRole>
</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>d0c40174-6255-4b42-8098-d66fda2a6919</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBGetUsersInRoleResponse xmlns="http://www.avectra.com/2005/">
<WEBGetUsersInRoleResult>
<Results recordReturn="3">
<Result>
<username>82572</username>
</Result>
<Result>
<username>82495</username>
</Result>
<Result>
<username>82457</username>
</Result>
</Results>
</WEBGetUsersInRoleResult>
</WEBGetUsersInRoleResponse>
</soap:Body>
</soap:Envelope>

 

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