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)

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