CONFIG Methods

ZOHO.BIGIN.CONFIG.getCurrentUser() → {Promise}

Use this method to get the current user information.

Returns

TypeDescription
PromiseResolved with User info

Example

Request

CopiedZOHO.BIGIN.CONFIG.getCurrentUser().then(function(data){
	console.log(data);
});

Response

Copied{
  "confirm": true,
  "full_name": "asd devvv",
  "role": {
    "name": "CEO",
    "id": "1000000028936"
  },
  "profile": {
    "name": "Administrator",
    "id": "1000000028942"
  },
  "last_name": "asd devvv",
  "alias": null,
  "id": "1000000030132",
  "first_name": null,
  "email": "naresh.babu+dev1@zylker.com",
  "zuid": "4253443",
  "status": "active"
}

ZOHO.BIGIN.CONFIG.getOrgInfo() → {Promise}

Use this method to get plugins configuration details.

Returns

TypeDescription
PromiseResolved with Plugin Configuration

Example

Request

CopiedZOHO.BIGIN.CONFIG.getOrgInfo().then(function(data){
	console.log(data);
}); 

Response

Copied{
 "Success": {
  "Content": "12345"
 }
}