UserName Property

The UserName property of the SPConfigDatabase class gets the name of the user who owns the account for the configuration database.

Property Value

A string that contains the name of the user.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security