Share via


SPPrincipal.Name property

Gets or sets the name of the principal.

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

Syntax

'Declaration
Public MustOverride Property Name As String
    Get
    Set
'Usage
Dim instance As SPPrincipal
Dim value As String

value = instance.Name

instance.Name = value
public abstract string Name { get; set; }

Property value

Type: System.String
A string that contains the name of the principal.

See also

Reference

SPPrincipal class

SPPrincipal members

Microsoft.SharePoint namespace