Class User
An interface which describes the authenticated User for a request.
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class User
Properties
| Improve this Doc View SourceThe email address of the user.
Declaration
[DataMember(Name = "email", EmitDefaultValue = false)]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
String | The user's email address. |
Id
The unique ID of the user.
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
String | The unique identifier. |
IpAddress
The IP of the user.
Declaration
[DataMember(Name = "ip_address", EmitDefaultValue = false)]
public string IpAddress { get; set; }
Property Value
Type | Description |
---|---|
String | The user's IP address. |
Other
Additional information about the user
Declaration
public IDictionary<string, string> Other { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, String> |
Username
The username of the user
Declaration
[DataMember(Name = "username", EmitDefaultValue = false)]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
String | The user's username. |
Methods
| Improve this Doc View SourceClone()
Declaration
public User Clone()
Returns
Type | Description |
---|---|
User |