SqlSystem.loginName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the user name that is used to log-in to the database.
public:
virtual System::String ^ loginName();
public virtual string loginName ();
abstract member loginName : unit -> string
override this.loginName : unit -> string
Public Overridable Function loginName () As String
Returns
The user name that is used to log-in to the database.
Remarks
The following example demonstrates the loginName method.
{
SqlSystem SqlSystem = new SqlSystem();
print SqlSystem.loginName();
}