Gets the profiles for the passed username.

Namespace:  EPiServer.Personalization
Assembly:  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

See Also