Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the user or group display name for the policy.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property DisplayName As String
Get
Set
'Usage
Dim instance As SPPolicy
Dim value As String
value = instance.DisplayName
instance.DisplayName = value
public string DisplayName { get; set; }
Property Value
Type: System.String
A string that contains the user or group display name. The value cannot be a null reference (Nothing in Visual Basic) or an empty string.
Remarks
The DisplayName property defaults to the user name if the display name cannot be resolved through Active Directory.