Gets the specified profile.
Namespace:
EPiServer.PersonalizationAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public static EPiServerProfile Get( string username ) |
Parameters
- username
- Type: System..::.String
The user name.
Return Value
An EPiServerProfile with profile information for the given user.
Remarks
This is a convenience wrapper to return a profile as an EPiServerProfile. If profiles are not configured or if
the returned profile is not of the correct type, returns null. I e will not throw an exception on error.