Compartilhar via


ClientFormsAuthenticationMembershipProvider.CreateUser Método

Definição

Este método não é usado por esta classe.

public:
 override System::Web::Security::MembershipUser ^ CreateUser(System::String ^ username, System::String ^ password, System::String ^ email, System::String ^ passwordQuestion, System::String ^ passwordAnswer, bool isApproved, System::Object ^ providerUserKey, [Runtime::InteropServices::Out] System::Web::Security::MembershipCreateStatus % status);
public override System.Web.Security.MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out System.Web.Security.MembershipCreateStatus status);
override this.CreateUser : string * string * string * string * string * bool * obj * MembershipCreateStatus -> System.Web.Security.MembershipUser
Public Overrides Function CreateUser (username As String, password As String, email As String, passwordQuestion As String, passwordAnswer As String, isApproved As Boolean, providerUserKey As Object, ByRef status As MembershipCreateStatus) As MembershipUser

Parâmetros

username
String

Não usado.

password
String

Não usado.

email
String

Não usado.

passwordQuestion
String

Não usado.

passwordAnswer
String

Não usado.

isApproved
Boolean

Não usado.

providerUserKey
Object

Não usado.

status
MembershipCreateStatus

Não usado.

Retornos

MembershipUser

Não aplicável. Este membro sempre gera uma exceção.

Exceções

Sempre lançada.

Comentários

Você não pode criar, excluir ou modificar informações do usuário usando a ClientFormsAuthenticationMembershipProvider classe.

Aplica-se a

Confira também