currentUser

Get current user details. Requires a B2B Token.

Returns

an optional Object
idString
createdAtInteger
updatedAtInteger
firstNameString
lastNameString
emailString
bcIdInteger
roleInteger
phoneString
masqueradingCompanyIdInteger
uuidString
The uuid of user
extraFieldslist of optional Objects
extra fields of this user
companyRoleIdInteger
User company role
companyRoleNameString
User company role name
companyInfoObject
Company information of user