xSession.clientComputerName Method [AX 2012]

Retrieves the network name of the client computer that is responsible for servicing the session.

public str clientComputerName()

Run On

Called

Return Value

Type: str
A string that indicates the name of the client computer.

The following example prints the name of the client that is running the current session.

{ 
    xSession xSession; 
 
    xSession = new xSession(); 
    print xSession.clientComputerName(); 
    pause; 
}

Community Additions

ADD
Show: