SPConfigDatabase.UserName Property

Obsolete. Gets the name of the user who owns the account for the configuration database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property UserName As String
    Get
'Usage
Dim instance As SPConfigDatabase
Dim value As String

value = instance.UserName
public string UserName { get; }

Property Value

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

See Also

Reference

SPConfigDatabase Class

SPConfigDatabase Members

Microsoft.SharePoint.Administration Namespace