This documentation is archived and is not being maintained.
xSession.clientKind Method [AX 2012]
Retrieves the type of the client that is responsible for servicing the session.
public ClientType clientKind()
Run On
Called
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;
}