共用方式為


UserContext Class

Definition

Encapsulates information about a user using an application.

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

Properties

AccountId

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

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

Gets or sets the ID of user accessing the application.

UserAgent

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

Applies to