UserGroup Class (Users and Groups)
Provides methods for working with users, role definitions, and groups.

Web Service: Users and GroupsWeb Reference: http://<Site>/_vti_bin/usergroup.asmx
Syntax

Visual Basic (Declaration)
<DebuggerStepThroughAttribute> _
<WebServiceBindingAttribute(Name:="UserGroupSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/directory/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DesignerCategoryAttribute("code")> _
Public Class UserGroup
    Inherits SoapHttpClientProtocol
Visual Basic (Usage)
Dim instance As UserGroup
C#
[DebuggerStepThroughAttribute] 
[WebServiceBindingAttribute(Name="UserGroupSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/directory/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DesignerCategoryAttribute("code")] 
public class UserGroup : SoapHttpClientProtocol
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Users and Groups.UserGroup
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Page view tracker