Try our conversational search powered by Generative AI!

Interface IProfileRepository

Namespace: EPiServer.Shell.Profile
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public interface IProfileRepository

Methods

Delete(String)

Declaration
void Delete(string userName)
Parameters
Type Name Description
System.String userName

GetOrCreateProfile(String)

Declaration
ProfileData GetOrCreateProfile(string userName)
Parameters
Type Name Description
System.String userName
Returns
Type Description
ProfileData

GetProfile(String)

Declaration
ProfileData GetProfile(string userName)
Parameters
Type Name Description
System.String userName
Returns
Type Description
ProfileData

Save(ProfileData)

Declaration
void Save(ProfileData profile)
Parameters
Type Name Description
ProfileData profile

Events

ProfileCreated

Declaration
event EventHandler<ProfileEventArgs> ProfileCreated
Event Type
Type Description
System.EventHandler<ProfileEventArgs>

Extension Methods