ServiceUser Class

 

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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

System.Object
  System.Security.Claims.ClaimsPrincipal
    Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser

type ServiceUser = 
    class
        inherit ClaimsPrincipal
    end

NameDescription
System_CAPS_pubmethodServiceUser()

Initializes a new instance of the ServiceUser class.

System_CAPS_pubmethodServiceUser(IEnumerable<ClaimsIdentity>)

Initializes a new instance of the ServiceUser class from the specified identities.

System_CAPS_pubmethodServiceUser(IIdentity)

Initializes a new instance of the ServiceUser class from the specified identity.

NameDescription
System_CAPS_pubpropertyClaims

(Inherited from ClaimsPrincipal.)

System_CAPS_pubpropertyId

Gets or sets the user ID

System_CAPS_pubpropertyIdentities

(Inherited from ClaimsPrincipal.)

System_CAPS_pubpropertyIdentity

(Inherited from ClaimsPrincipal.)

System_CAPS_pubpropertyLevel

Gets or sets the AuthorizationLevel this user has been granted.

NameDescription
System_CAPS_pubmethodAddIdentities(IEnumerable<ClaimsIdentity>)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodAddIdentity(ClaimsIdentity)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindAll(Predicate<Claim>)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodFindAll(String)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodFindFirst(Predicate<Claim>)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodFindFirst(String)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetIdentitiesAsync()

Gets the collection of provider specific identities for this user.

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasClaim(Predicate<Claim>)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodHasClaim(String, String)

(Inherited from ClaimsPrincipal.)

System_CAPS_pubmethodIsInRole(String)

(Inherited from ClaimsPrincipal.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: