UserManager<TUser>.NormalizeName(String) Method

Definition

Normalize user or role name for consistent comparisons.

public:
 virtual System::String ^ NormalizeName(System::String ^ name);
public virtual string NormalizeName (string name);
public virtual string? NormalizeName (string? name);
abstract member NormalizeName : string -> string
override this.NormalizeName : string -> string
Public Overridable Function NormalizeName (name As String) As String

Parameters

name
String

The name to normalize.

Returns

A normalized value representing the specified name.

Applies to