SPUser.AllowBrowseUserInfo Property

Gets or sets a value that indicates whether the user can obtain information about the Web site’s users.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool AllowBrowseUserInfo { get; set; }

Property Value

Type: System.Boolean
true if the SPUser object is allowed to access the user information; otherwise false.

The AllowBrowseUserInfo property can be true only if the IsApplicationPrincipal property is true.

Unless the application needs to access user information, we recommend that AllowBrowseUserInfo be set to false. This ensures that the application cannot access user information even if its permission assignments would otherwise allow it to have such access.

© 2015 Microsoft