StrataFrame Security Documentation Send comments on this topic.
Accessing CurrentUser Information

Glossary Item Box

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() MethodRetrieves a System.TimeSpan indicating the amount of idle time the system will wait before the user’s session times out and locks.
LoggedOnAt PropertyGets a Date that indicates the timestamp of when the user logged into the application.
UserName PropertyGets the username that identifies the user (the login name, not the full name).
UserPK PropertyGets the primary key that uniquely identifies the user (UserID).