ProfileBase.Initialize(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- username
- String
The name of the user to initialize the profile for.
- isAuthenticated
- Boolean
true
to indicate the user is authenticated; false
to indicate the user is anonymous.
Remarks
This method is not intended to be used from your code. Use one of the Create overloads to create an instance of the user profile.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.