Gets a starting User object to open a session.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
Parameters
- userId
- Type: SystemString
The unique ID of the user to retrieve - visitorIp (Optional)
- Type: System.NetIPAddress
[Missing <param name="visitorIp"/> documentation for "M:Ingeniux.CMS.IContentStore.GetStartingUser(System.String,System.Net.IPAddress)"]
Return Value
Type: IReadonlyUserThe read-only User object. This User object is only for creating sessions; you cannot make changes to this object.
Exceptions
Exception | Condition |
---|---|
InvalidDataException | User doesn't exist in ContentStore. |
Remarks
See Also