SPPolicy.DisplayName property
Gets or sets the user or group display name for the policy.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.