ServiceUser Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ServiceUser class is an IPrincipal implementation which provides information about how the user is authenticated using any of the supported authentication mechanisms as well as the AuthorizationLevel at which the user is authenticated.
public class ServiceUser : System.Security.Claims.ClaimsPrincipal
type ServiceUser = class
inherit ClaimsPrincipal
Public Class ServiceUser
Inherits ClaimsPrincipal
- Inheritance
-
ServiceUser
Constructors
ServiceUser() |
Initializes a new instance of the ServiceUser class. |
ServiceUser(IEnumerable<ClaimsIdentity>) |
Initializes a new instance of the ServiceUser class from the specified |
ServiceUser(IIdentity) |
Initializes a new instance of the ServiceUser class from the specified |
Properties
Id |
Gets or sets the user ID |
Level |
Gets or sets the AuthorizationLevel this user has been granted. |
Methods
GetIdentitiesAsync() |
Gets the collection of provider specific identities for this user. |