Get Logged-in User
Get Logged-in User - kintone.getLoginUser()
Retrieves the user information of the user that is currently viewing the page.
Function
kintone.getLoginUser()
Returns
PROPERTY | TYPE | VALUE & DESCRIPTION |
---|---|---|
id | String | User ID. Auto incremented by the service. |
code | String | Login name. For guest users, this will be their email. |
name | String | Display name. |
String | E-mail Address. | |
url | String | URL. Blank for guest users. |
employeeNumber | String | Employee ID. Blank for guest users. |
phone | String | Phone. |
mobilePhone | String | Mobile Phone. Blank for guest users. |
extensionNumber | String | Extension. Blank for guest users. |
timezone | String | Time Zone. |
isGuest | Boolean | true for guest users, false for non-guest users. |
language | String | Language selected in the Language & Time Zone settings
|
Sample Request
|
|
Limitations
- This API can be used on any page.
- This API can be used on both Desktops and Smartphones.
- This API cannot be initiated from apps attached to bodies of Spaces/Threads/Announcements.