IdentityErrorDescriber.DuplicateUserName(String) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个 , IdentityError 指示指定的 userName 已存在。
public:
 virtual Microsoft::AspNetCore::Identity::IdentityError ^ DuplicateUserName(System::String ^ userName);
	public virtual Microsoft.AspNetCore.Identity.IdentityError DuplicateUserName(string userName);
	abstract member DuplicateUserName : string -> Microsoft.AspNetCore.Identity.IdentityError
override this.DuplicateUserName : string -> Microsoft.AspNetCore.Identity.IdentityError
	Public Overridable Function DuplicateUserName (userName As String) As IdentityError
	参数
- userName
 - String
 
已存在的用户名。
返回
一个 IdentityError ,指示指定的 userName 已存在。