AdalUserMismatchException AdalUserMismatchException 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
AdalUserMismatchExceptionAdalUserMismatchExceptionAdalUserMismatchException

Constructors

AdalUserMismatchException(String, String) AdalUserMismatchException(String, String) AdalUserMismatchException(String, String)

Initializes a new instance of the exception class.

Properties

ErrorCode ErrorCode 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 RequestedUser RequestedUser

Gets the user requested from service.

ReturnedUser ReturnedUser ReturnedUser

Gets the user returned by service.

Methods

ToJsonString() ToJsonString() ToJsonString()

Allows serialization of most values of the exception into JSON.

(Inherited from AdalException)
ToString() ToString() ToString()

Creates and returns a string representation of the current exception.

Applies to