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

WEBIsUserInRole

 

WEBIsUserInRole

Initial Build 2008.01
Deprecated Build 2015.01
xWeb Web Method
Response Type boolean

Important! Sharepoint integration is no longer supported. This method is deprecated.

This method can be used to check if a user is in a role. It returns true or false. This is used with the Sharepoint Role Provider.

Parameters

This method has no parameters.

Response

Boolean—true or false.

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>df3d1644-ba3e-4dc7-8399-ae06ee6063e5</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBIsUserInRole>
<!--Optional:-->
<ns:username>82457</ns:username>
<!--Optional:-->
<ns:roleName>SD CommCD</ns:roleName>
</ns:WEBIsUserInRole>
</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>df3d1644-ba3e-4dc7-8399-ae06ee6063e5</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBIsUserInRoleResponse xmlns="http://www.avectra.com/2005/">
<WEBIsUserInRoleResult>true</WEBIsUserInRoleResult>
</WEBIsUserInRoleResponse>
</soap:Body>
</soap:Envelope>

 

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