Gets the profiles for the passed username.
Namespace:
EPiServer.PersonalizationAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public static IList<EPiServerProfile> GetProfiles( string userName ) |
Parameters
- userName
- Type: System..::.String
Name of the user or role
Return Value
list of profiles
Remarks
If passed in userName is a user then the profile for that user is returned else
if passed in userName represents a role profiles for all role members are returned