SharePoint Provider::GetGroupsFromWeb
The GetGroupsFromWeb method returns information about the collection of cross-site groups for the current site.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
SharePoint site. |
Remarks
No remarks.
Sample Code
Comments
An array of group info in the format shown below.
Example XML Request
<request>
<procedure>
<execute namespace="WSS Provider" procedure="GetGroupsFromWeb"
impersonate="1">
<executeData>
<target>https://raven003/sites/test</target>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
<executeData>
<target>https://raven003/sites/test</target>
<Groups>
<Group ID="7" Name="TestGroup" Description="A test group"
OwnerID="1" OwnerIsUser="True" />
</Groups>
</executeData>
Typical C# Usage
No typical C# usage.
Applies To
Windows SharePoint Services Provider API for
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0