SharePoint2007Provider::GetRoleInfo

This procedure returns information about the specified collection of groups for the current site.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<siteGUID>

Yes

The globally unique identifier (GUID) of the Windows SharePoint Services site collection.

<subSiteGUID>

Yes

The GUID of the sub site.

<roles>

Yes

The list of roles to query.

Remarks

No remarks.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="GetRoleInfo" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>92b0035c-5544-47f2-9746-f859205495c5</siteGUID> 
            <subSiteGUID>8ec012f2-2da5-4d2c-923f-11cc4f197917</subSiteGUID> 
            <roles> 
               <role roleName="Full Control" /> 
            </roles> 
         </executeData> 
         <after source="executeData" destination="data" mode="merge" /> 
      </execute> 
   </procedure> 
</request>

Example XML Response

An array of role information in the format shown below:

<response> 
   <data> 
      <roles> 
         <role id="1073741829" name="Full Control" description="Has full control." type="Administrator" /> 
      </roles> 
   </data> 
</response>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::UpdateRoleInfo