CreateUserWizard.LoginCreatedUser Propriedade
Definição
Obtém ou define um valor que indica se deve-se fazer logon do novo usuário após a criação da conta de usuário.Gets or sets a value indicating whether to log in the new user after creating the user account.
public:
virtual property bool LoginCreatedUser { bool get(); void set(bool value); };
[System.Web.UI.Themeable(false)]
public virtual bool LoginCreatedUser { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.LoginCreatedUser : bool with get, set
Public Overridable Property LoginCreatedUser As Boolean
Valor da propriedade
true Se o novo usuário deve estar conectado após a criação da conta de usuário; caso contrário, false .true if the new user should be logged in after creating the user account; otherwise, false. O valor padrão é true.The default value is true.
- Atributos
Comentários
A LoginCreatedUser propriedade pode ser definida como false se você quiser criar uma conta de usuário, mas não autenticar a conta depois que ela for criada.The LoginCreatedUser property can be set to false if you want to create a user account but not authenticate the account after it is created. Isso pode ser útil se você for um administrador criando contas de usuário, por exemplo, ou se houver um período de espera antes que os usuários possam acessar o site.This might be useful if you are an administrator creating user accounts, for example, or if there is a waiting period before users can access the Web site.
Observação
Quando a LoginCreatedUser propriedade for definida como true , o usuário será criado e conectado no final da CreateUserStep etapa.When the LoginCreatedUser property is set to true, the user will be created and logged in at the end of the CreateUserStep step. Se você quiser que o usuário esteja conectado depois que todas as etapas forem concluídas, você poderá definir a DisableCreatedUser propriedade para false até que todas as etapas do CreateUserWizard controle sejam concluídas.If you want the user to be logged in after all the steps have been completed, you can set the DisableCreatedUser property to false until all of the steps of the CreateUserWizard control are completed.
Esta propriedade não pode ser definida por temas ou temas de folha de estilo.This property cannot be set by themes or style sheet themes. Para obter mais informações, consulte ThemeableAttribute e temas e capas do ASP.net.For more information, see ThemeableAttribute and ASP.NET Themes and Skins.