People Class

Provides methods that enable people to use SharePoint sites securely.

Web Service: PeopleWeb Reference: http://<Site>/_vti_bin/People.asmx

Syntax

<WebServiceBindingAttribute(Name:="PeopleSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
Public Class People
    Inherits SoapHttpClientProtocol

Dim instance As People
[WebServiceBindingAttribute(Name="PeopleSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
public class People : SoapHttpClientProtocol

Remarks

To access the People service and its methods, set a Web reference to http://Server_Name/[sites/][Site_Name/]_vti_bin/people.asmx.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            People.People

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

Reference

People Members
People Web Service
SPControl.GetContextWeb Method

Other Resources

.NET Support and Security in Microsoft Windows SharePoint Services
Security, Users, and Groups Overview