ProfileBase.Initialize(String, Boolean) Método

Definição

Inicializa os valores de propriedade de perfil e informações para o usuário atual.Initializes the profile property values and information for the current user.

public:
 void Initialize(System::String ^ username, bool isAuthenticated);
public void Initialize (string username, bool isAuthenticated);
override this.Initialize : string * bool -> unit
Public Sub Initialize (username As String, isAuthenticated As Boolean)

Parâmetros

username
String

O nome do usuário para o qual inicializar o perfil.The name of the user to initialize the profile for.

isAuthenticated
Boolean

true para indicar que o usuário é autenticado; false para indicar que o usuário é anônimo.true to indicate the user is authenticated; false to indicate the user is anonymous.

Comentários

Esse método não deve ser usado do seu código.This method is not intended to be used from your code. Use uma das Create sobrecargas para criar uma instância do perfil do usuário.Use one of the Create overloads to create an instance of the user profile.

Aplica-se a