Get Current User

Purpose

To get the data of a specific user using Widget APIs.

Request Format

ZOHO.RECRUIT.CONFIG.getCurrentUser()

Sample Request

CopiedZOHO.RECRUIT.CONFIG.getCurrentUser().then(function(success) {
   
}, function(error) {
    
});

Sample Response

Copied{
    "users": [
       {
            "country": null,
            "role": {
                "name": "Recruiter Admin",
                "id": "2445013000000026005"
            },
            "city": null,
            "signature": null,
            "name_format": "Salutation,First Name,Last Name",
            "language": "en_US",
            "locale": "en_US",
            "personal_account": true,
            "default_tab_group": "0",
            "street": null,
            "alias": "Charan",
            "theme": {
                "normal_tab": {
                    "font_color": "#FFFFFF",
                    "background": "#222222"
                },
                "selected_tab": {
                    "font_color": "#FFFFFF",
                    "background": "#222222"
                },
                "new_background": "#018EE0",
                "background": "#F3F0EB",
                "screen": "fixed",
                "type": "default"
            },
            "id": "2445013000000114007",
            "state": null,
            "country_locale": "en_US",
            "fax": null,
            "first_name": "Particia",
            "email": "p.boyle@zylker.com",
            "zip": null,
            "decimal_separator": "en_IN",
            "website": null,
            "time_format": "hh:mm a",
            "profile": {
                "name": "Administrator",
                "id": "2445013000000026011"
            },
            "mobile": null,
            "last_name": "Boyle",
            "time_zone": "IST",
            "zuid": "11290182",
            "confirm": true,
            "full_name": "Patricia Boyle",
            "territories": [],
            "phone": null,
            "dob": null,
            "date_format": "MM/dd/yyyy",
            "status": "active"
        }
    ],
    "info": {
        "per_page": 200,
        "count": 1,
        "page": 1,
        "more_records": false
    }
}