The ClientUserInfo class represents information about a client user, including their ID, name, username, and optionally a reference to another user they are acting on behalf of.
Properties
| Name | Description |
|---|
| Id | The unique identifier for the user. |
| UserName | The username of the user. |
| Name | The name of the user. |
| BehalfOf | A reference to another ClientUserInfo object, representing the user on whose behalf this user is acting. |
Constructors
Methods
| Name | Description |
|---|
| Clone() | Creates a new ClientUserInfo instance with the same ID, name, and username, but without the BehalfOf reference. |
| ToString() | Returns a string representation of the user’s name. If acting on behalf of another user, the string includes both the user’s name and the name of the user they are representing. |