Partager via


People, classe (websvcPeople)

Provides methods that enable people to use SharePoint sites securely.

Espace de noms : websvcPeople
Assembly : STSSOAP (dans stssoap.dll)

Syntaxe

'Déclaration
<WebServiceBindingAttribute(Name:="PeopleSoap", Namespace:="https://schemas.microsoft.com/sharepoint/soap/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
Public Class People
    Inherits SoapHttpClientProtocol
'Utilisation
Dim instance As People
[WebServiceBindingAttribute(Name="PeopleSoap", Namespace="https://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
public class People : SoapHttpClientProtocol

Notes

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

Hiérarchie d'héritage

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

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres People
websvcPeople, espace de noms
SPControl.GetContextWeb, méthode

Autres ressources

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