SqlSystem.loginName Method [AX 2012]

Retrieves the user name that is used to log-in to the database.

public str loginName()

Run On

Server

Return Value

Type: str
The user name that is used to log-in to the database.

{ 
    SqlSystem SqlSystem = new SqlSystem(); 
    print SqlSystem.loginName(); 
}

Community Additions

ADD
Show: