IReadonlyUser Interface |
Namespace: Ingeniux.CMS
The IReadonlyUser type exposes the following members.
Name | Description | |
---|---|---|
![]() | Disabled |
Gets whether the user is disabled
|
![]() | IP |
Gets the IP Address of the browser's computer.
|
![]() | LastLogin |
Gets the time when this user last logged in.
|
![]() | UserId |
Gets the UserId of the user.
|
The ReadOnlyUser object is retrieved from the Content Store object via the method GetStartingUser.
IReadonlyUser currentUser = contentStore.GetStartingUser(@"ingeniux\someuserid", visitorIp); using (IUserSession session = store.OpenReadSession(currentUser)) { ... }