Username Property

The Username property of the SPContentDatabase class gets or sets the name of the user who owns the account for the content database.

Property Value

A string that contains the name of the owner.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security