AdalUserMismatchException Class

Definition

The exception type thrown when user returned by service does not match user in the request.

public class AdalUserMismatchException : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException
type AdalUserMismatchException = class
    inherit AdalException
Public Class AdalUserMismatchException
Inherits AdalException
Inheritance
AdalUserMismatchException

Constructors

AdalUserMismatchException(String, String)

Initializes a new instance of the exception class.

Properties

ErrorCode

Gets the protocol error code returned by the service or generated by client. This is the code you can rely on for exception handling.

(Inherited from AdalException)
RequestedUser

Gets the user requested from service.

ReturnedUser

Gets the user returned by service.

Methods

ToJsonString()

Allows serialization of most values of the exception into JSON.

(Inherited from AdalException)
ToString()

Creates and returns a string representation of the current exception.

Applies to