Represents the basic collection of information to be used to create a Session.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IReadonlyUser type exposes the following members.
Properties
Name | Description | |
---|---|---|
IP |
Gets the IP Address of the browser's computer.
| |
IsAdministrator |
Gets whether the user is an administrator. Administrators have the privilege of working with any object in the CSAPI.
| |
LastLogin |
Gets the time when this user last logged in.
| |
UserId |
Gets the UserId of the user.
|
Remarks
The ReadOnlyUser object is retrieved from the Content Store object via the method GetStartingUser.
C#
IReadonlyUser currentUser = contentStore.GetStartingUser(@"ingeniux\someuserid", visitorIp); using (IUserSession session = store.OpenReadSession(currentUser)) { ... }
See Also