Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Profile / ProfileProvider.cs / 1305376 / ProfileProvider.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ProfileProvider * * Copyright (c) 2002 Microsoft Corporation */ namespace System.Web.Profile { using System.Security.Principal; using System.Security.Permissions; using System.Collections; using System.Collections.Specialized; using System.Web.Configuration; using System.Web.Util; using System.Web.Security; using System.Web.Compilation; using System.Configuration; using System.Configuration.Provider; using System.Reflection; using System.CodeDom; public abstract class ProfileProvider : SettingsProvider { public abstract int DeleteProfiles (ProfileInfoCollection profiles); public abstract int DeleteProfiles (string[] usernames); public abstract int DeleteInactiveProfiles (ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate); public abstract int GetNumberOfInactiveProfiles (ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate); public abstract ProfileInfoCollection GetAllProfiles (ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, out int totalRecords); public abstract ProfileInfoCollection GetAllInactiveProfiles (ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate, int pageIndex, int pageSize, out int totalRecords); public abstract ProfileInfoCollection FindProfilesByUserName (ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, out int totalRecords); public abstract ProfileInfoCollection FindInactiveProfilesByUserName(ProfileAuthenticationOption authenticationOption, string usernameToMatch, DateTime userInactiveSinceDate, int pageIndex, int pageSize, out int totalRecords); } public sealed class ProfileProviderCollection : SettingsProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProfileProvider ) ) { throw new ArgumentException(SR.GetString(SR.Provider_must_implement_type, typeof(ProfileProvider).ToString()), "provider"); } base.Add( provider ); } new public ProfileProvider this[string name] { get { return (ProfileProvider) base[name]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabControl.cs
- XmlnsDefinitionAttribute.cs
- WindowsBrush.cs
- SlipBehavior.cs
- EncryptedKey.cs
- PersonalizationProviderCollection.cs
- InternalException.cs
- ChangesetResponse.cs
- DataGridCommandEventArgs.cs
- BindingOperations.cs
- SingleAnimationUsingKeyFrames.cs
- NotImplementedException.cs
- securestring.cs
- WebPartConnectionCollection.cs
- ScrollData.cs
- JsonEnumDataContract.cs
- NumericPagerField.cs
- SchemaTableOptionalColumn.cs
- errorpatternmatcher.cs
- TreeChangeInfo.cs
- SafeNativeMethodsMilCoreApi.cs
- SiteMapSection.cs
- DataGridViewCellFormattingEventArgs.cs
- RenderData.cs
- BinaryConverter.cs
- WinEventQueueItem.cs
- SoapExtension.cs
- autovalidator.cs
- Pkcs7Recipient.cs
- DayRenderEvent.cs
- GridViewAutoFormat.cs
- CollectionChangedEventManager.cs
- FormsAuthenticationUserCollection.cs
- SymbolUsageManager.cs
- CmsUtils.cs
- UserNameServiceElement.cs
- UnknownBitmapDecoder.cs
- RadioButtonPopupAdapter.cs
- DocumentCollection.cs
- ConfigDefinitionUpdates.cs
- TextParagraphCache.cs
- GradientStopCollection.cs
- FrameDimension.cs
- TypographyProperties.cs
- COMException.cs
- CodeAccessPermission.cs
- XmlSerializationGeneratedCode.cs
- ValueUnavailableException.cs
- SynchronizationFilter.cs
- UrlPath.cs
- HebrewNumber.cs
- Bidi.cs
- DesignConnectionCollection.cs
- NamespaceTable.cs
- PersianCalendar.cs
- SemanticAnalyzer.cs
- CaseStatementProjectedSlot.cs
- ReadOnlyDataSource.cs
- _HelperAsyncResults.cs
- SourceLineInfo.cs
- KerberosSecurityTokenProvider.cs
- MultipleViewPattern.cs
- FirstMatchCodeGroup.cs
- UrlPath.cs
- ConfigurationStrings.cs
- ProcessHostConfigUtils.cs
- XmlSchemaElement.cs
- PtsPage.cs
- DependsOnAttribute.cs
- UnsignedPublishLicense.cs
- DirectoryRedirect.cs
- TextRange.cs
- ClonableStack.cs
- IssuedTokenClientElement.cs
- WebHttpElement.cs
- ContextMarshalException.cs
- BindStream.cs
- IRCollection.cs
- ipaddressinformationcollection.cs
- ElementMarkupObject.cs
- SearchForVirtualItemEventArgs.cs
- WebPartManagerInternals.cs
- XpsSerializationManagerAsync.cs
- EncryptedReference.cs
- TreeNodeConverter.cs
- XPathException.cs
- Stream.cs
- TrackingWorkflowEventArgs.cs
- ToolStripItem.cs
- Win32SafeHandles.cs
- ResourceReferenceExpressionConverter.cs
- BindingManagerDataErrorEventArgs.cs
- WebBrowser.cs
- ZoneLinkButton.cs
- ModelItemCollectionImpl.cs
- WaitForChangedResult.cs
- Table.cs
- InstalledFontCollection.cs
- GroupBox.cs
- HtmlProps.cs