xSession.clientKind Method [AX 2012]

Retrieves the type of the client that is responsible for servicing the session.

public ClientType clientKind()

Run On

Called

Return Value

Type: ClientType Enumeration
The type of the client.

The possible values are those in the ClientType system enumeration:

  • COMObject

  • Client

  • Server

  • WorkerThread

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

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

Community Additions

ADD
Show: