GetRoleInfo Method

The GetRoleInfo method of the Users and Groups service returns information about the specified site group.

Parameters

roleName   A string that contains the name of the site group.

Return Value

An XML fragment in the following form that can be assigned to a System.Xml.XmlNode object:

<GetRoleInfo xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
   <Role ID="1073741830" Name="Site_Group" Description="Description" Type="0" />
</GetRoleInfo>

Example

The following code example displays information about a specified site group.

This example requires that a using (C#) or Imports (Visual Basic .NET) directive be included for the System.Xml namespace.

Requirements

Platforms: Microsoft Windows Server 2003

Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/UserGroup.asmx