Condividi tramite


SPPeoplePickerSettings Class

Represents settings that are used in the People Picker control to select users, distribution lists, and security groups within the SharePoint Foundation user interface.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPeoplePickerSettings

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPPeoplePickerSettings _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPPeoplePickerSettings
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPPeoplePickerSettings : SPAutoSerializingObject

Remarks

Use the PeoplePickerSettings() property of the SPWebApplication class to return the People Picker settings that are used within a web application.

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

SPPeoplePickerSettings Members

Microsoft.SharePoint.Administration Namespace