UserContext UserContext UserContext Class

Definition

Encapsulates information about a user using an application.

public sealed class UserContext
type UserContext = class
Public NotInheritable Class UserContext
Inheritance
UserContextUserContextUserContext

Properties

AccountId AccountId AccountId

Gets or sets the ID of an application-defined account associated with the user.

AuthenticatedUserId AuthenticatedUserId AuthenticatedUserId

Gets or sets the authenticated user id. Authenticated user id should be a persistent string that uniquely represents each authenticated user in the application or service.

Id Id Id

Gets or sets the ID of user accessing the application.

UserAgent UserAgent UserAgent

Gets or sets the UserAgent of an application-defined account associated with the user.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to