...
Panel | ||
---|---|---|
| ||
CRM Session holds information about the logged in user, the server, the database and the general and formatting settings. What does this section cover?
|
Getting the session object
To retrieve get the current session object you have to use getCRMSession() method which is implemented in com.crm.businessobject.CRMBase super class. Note that all CRMBO, CRMUI, CRMProcess and CRMAPIBean classes extend CRMBase.
Code Block | ||||
---|---|---|---|---|
| ||||
public CRMDO copy(CRMDO dto) { CRMSession session = getCRMSession(); ... } |
Using the session object
After getting the session object, you can use it to get information about the logged in user, the server, the database and the general and formatting settings.
...