Get Current Logged-in User Information & Details
Learn how to retrieve and display current logged-in user information, profile details, and session data. Access user ID, username, email, and roles securely.
Learn how to retrieve and display current logged-in user information, profile details, and session data. Access user ID, username, email, and roles securely.
Learn what the g_user API is in ServiceNow. Discover its purpose for accessing current user information, common methods, and how to use it effectively in client-side scripts like Client Scripts and UI Policies.