People Class (People)
Provides methods that enable people to use SharePoint sites securely.

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

Visual Basic (Declaration)
<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
Visual Basic (Usage)
Dim instance As People
C#
[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

Tags : class people


Page view tracker