Export (0) Print
Expand All
Expand Minimize

SPWebService.ShowUserNameOnAccessDenied property

in hosting environment, people may want to set it to false so as to prevent information disclosure to other sites hosted on the same server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool ShowUserNameOnAccessDenied { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

Community Additions

ADD
Show:
© 2014 Microsoft