CONFIG Methods
ZOHO.BIGIN.CONFIG.getCurrentUser() → {Promise}
Use this method to get the current user information.
Returns
Type | Description |
---|---|
Promise | Resolved 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
Type | Description |
---|---|
Promise | Resolved with Plugin Configuration |
Example
Request
CopiedZOHO.BIGIN.CONFIG.getOrgInfo().then(function(data){
console.log(data);
});
Response
Copied{
"Success": {
"Content": "12345"
}
}