C# Class NauckIT.PostgreSQLProvider.PgProfileProvider

Inheritance: System.Web.Profile.ProfileProvider
Afficher le fichier Open project: dnauck/AspSQLProvider

Méthodes publiques

Méthode Description
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int

ProfileProvider.DeleteInactiveProfiles

DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
DeleteProfiles ( string usernames ) : int
FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection

Initialize ( string name, NameValueCollection config ) : void

System.Configuration.Provider.ProviderBase.Initialize Method

SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void

Private Methods

Méthode Description
CreateProfileForUser ( string username, bool isAuthenticated ) : void

Create a empty user profile

ProfileExists ( string username ) : bool
UpdateActivityDates ( string username, bool isAuthenticated, bool activityOnly ) : void

Updates the LastActivityDate and LastUpdatedDate values when profile properties are accessed by the GetPropertyValues and SetPropertyValues methods. Passing true as the activityOnly parameter will update only the LastActivityDate.

Method Details

DeleteInactiveProfiles() public méthode

ProfileProvider.DeleteInactiveProfiles
public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Résultat int

DeleteProfiles() public méthode

public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection
Résultat int

DeleteProfiles() public méthode

public DeleteProfiles ( string usernames ) : int
usernames string
Résultat int

FindInactiveProfilesByUserName() public méthode

public FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() public méthode

public FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() public méthode

public GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetAllProfiles() public méthode

public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Profile.ProfileInfoCollection

GetNumberOfInactiveProfiles() public méthode

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Résultat int

GetPropertyValues() public méthode

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyCollection
Résultat System.Configuration.SettingsPropertyValueCollection

Initialize() public méthode

System.Configuration.Provider.ProviderBase.Initialize Method
public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void

SetPropertyValues() public méthode

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyValueCollection
Résultat void