Gets or sets a value that indicates whether the user can obtain information about the Web site’s users.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property AllowBrowseUserInfo As Boolean
Get
Set
用法
Dim instance As SPUser
Dim value As Boolean
value = instance.AllowBrowseUserInfo
instance.AllowBrowseUserInfo = value
public bool AllowBrowseUserInfo { get; set; }
属性值
类型: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.