IReadonly
|
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. | |
| IsTaskUser | Gets/set whether this user will be a task user. Task users are only allowed for task execution. They cannot log in to CMS client | |
| 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)) { ... }