Click or drag to resize

IReadonlyUser Interface


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: 10.6.492
Syntax
public interface IReadonlyUser

The IReadonlyUser type exposes the following members.

Properties
 NameDescription
Public propertyDisabled Gets whether the user is disabled
Public propertyIP Gets the IP Address of the browser's computer.
Public propertyIsTaskUser 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
Public propertyLastLogin Gets the time when this user last logged in.
Public propertyUserId Gets the UserId of the user.
Top
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