User
This node provides access to current user information and authentication state.
The User node exposes user data and authentication status for application logic.
The User node provides access to the currently authenticated user's information, including profile data, authentication status, and user-specific properties. It serves as the central point for user-related data in your application.
Outputs
User Information
| Data | Description |
|---|---|
| User ID | Unique identifier for the current user |
| Username | User's display name or username |
| User's email address | |
| Is Authenticated | Boolean indicating if user is logged in |
User Properties
| Data | Description |
|---|---|
| User Properties | Object containing all user properties |
| Roles | User's assigned roles and permissions |
Events
| Signal | Description |
|---|---|
| User Changed | Triggered when user data updates |
| Login Status Changed | Triggered when authentication status changes |
Usage
User State Management
The User node automatically tracks:
- Authentication Status: Whether user is currently logged in
- Profile Information: Basic user profile data
- Custom Properties: Application-specific user data
- Permission Levels: User roles and access rights
Example Use Cases
- Personalization: Display user-specific content and preferences
- Access Control: Show/hide features based on user permissions
- User Interface: Display user name, avatar, and profile information
- Analytics: Track user behavior and application usage
- Content Filtering: Filter data based on user context
Integration Patterns
- Authentication Flow: Combine with login/logout nodes
- Permission Checking: Use with conditional logic for access control
- Data Filtering: Filter content based on user properties
- Personalization: Customize UI elements for individual users