User details
Access the authenticated user's details
Access the details of the currently authenticated user.
Properties
| Property | Type | Description |
|---|---|---|
| Name | String | The current user's display name. |
| String | The current user's email address. | |
| _id | String | The current user's unique ID. |
Syntax
const { Name, Email, _id } = kf.user;Returns
Returns the current user's Name, Email, and _id. See Role details for the roles assigned to this user.
Example
console.log(kf.user.Name, kf.user.Email, kf.user._id);Output
"John Jacobs", "john@kissflow.com", "Us9mhLyuEFn4";
