November Happy Hour will be moved to Thursday December 5th.

Class ProfileRepository

Inheritance
System.Object
ProfileRepository
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Profile
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IProfileRepository), Lifecycle = ServiceInstanceScope.Singleton)]
public class ProfileRepository : IProfileRepository

Constructors

ProfileRepository(DynamicDataStoreFactory, ISynchronizedObjectInstanceCache)

Declaration
public ProfileRepository(DynamicDataStoreFactory storeFactory, ISynchronizedObjectInstanceCache cache)
Parameters
Type Name Description
DynamicDataStoreFactory storeFactory
ISynchronizedObjectInstanceCache cache

Methods

Delete(String)

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

GetOrCreateProfile(String)

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

GetProfile(String)

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

Save(ProfileData)

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

Events

ProfileCreated

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

Implements

Extension Methods