Purpose: This document describes how to access information relevant to the CurrentUser within the application.
CurrentUser Members
The MicroFour.StrataFrame.Security.SecurityBasics.CurrentUser property returns an ISecurityUser object that can be used to access information about the currently logged in user. The following members provide access to the common information:
| Member | Description |
|---|---|
| GetUserLockoutTime() Method | Retrieves a System.TimeSpan indicating the amount of idle time the system will wait before the user’s session times out and locks. |
| LoggedOnAt Property | Gets a Date that indicates the timestamp of when the user logged into the application. |
| UserName Property | Gets the username that identifies the user (the login name, not the full name). |
| UserPK Property | Gets the primary key that uniquely identifies the user (UserID). |