Share via


SPGlobalAdmin.ConfigDatabaseUser property

NOTE: This API is now obsolete.

The configuration database should not be accessed directly. (In Windows SharePoint Services 2.0, the ConfigDatabaseUser property got the user name of the administrator account for the configuration database, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("The configuration database should not be accessed directly.",  _
    False)> _
Public ReadOnly Property ConfigDatabaseUser As String
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As String

value = instance.ConfigDatabaseUser
[ObsoleteAttribute("The configuration database should not be accessed directly.", 
    false)]
public string ConfigDatabaseUser { get; }

Property value

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

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace