C# Class MongoMembership.Providers.MongoProfileProvider

Inheritance: System.Web.Profile.ProfileProvider
Exibir arquivo Open project: FoC-/MongoMembership

Private Properties

Property Type Description
ToProfileInfo System.Web.Profile.ProfileInfo
ToProfileInfoCollection System.Web.Profile.ProfileInfoCollection

Public Methods

Method Description
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
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
SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void

Private Methods

Method Description
ToProfileInfo ( User user ) : System.Web.Profile.ProfileInfo
ToProfileInfoCollection ( IEnumerable users ) : System.Web.Profile.ProfileInfoCollection

Method Details

DeleteInactiveProfiles() public method

public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
return int

DeleteProfiles() public method

public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection
return int

DeleteProfiles() public method

public DeleteProfiles ( string usernames ) : int
usernames string
return int

FindInactiveProfilesByUserName() public method

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
return System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() public method

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
return System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() public method

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
return System.Web.Profile.ProfileInfoCollection

GetAllProfiles() public method

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

GetNumberOfInactiveProfiles() public method

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
return int

GetPropertyValues() public method

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyCollection
return System.Configuration.SettingsPropertyValueCollection

Initialize() public method

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
return void

SetPropertyValues() public method

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyValueCollection
return void