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
- basemetadatamappingvisitor.cs
- DataGridViewCellConverter.cs
- NullableDoubleMinMaxAggregationOperator.cs
- LOSFormatter.cs
- IResourceProvider.cs
- X509ChainElement.cs
- PlatformCulture.cs
- BooleanAnimationUsingKeyFrames.cs
- TreeChangeInfo.cs
- Annotation.cs
- XpsS0ValidatingLoader.cs
- ReadOnlyMetadataCollection.cs
- DockPattern.cs
- BaseTemplateBuildProvider.cs
- ZoneMembershipCondition.cs
- BaseCollection.cs
- ThemeDictionaryExtension.cs
- PermissionListSet.cs
- SpellerHighlightLayer.cs
- HtmlTernaryTree.cs
- InteropBitmapSource.cs
- ToolboxCategoryItems.cs
- ChannelTracker.cs
- DiscreteKeyFrames.cs
- Guid.cs
- DecimalConverter.cs
- _ProxyRegBlob.cs
- SymbolType.cs
- PolicyStatement.cs
- CommentAction.cs
- LoginCancelEventArgs.cs
- DataBindEngine.cs
- assertwrapper.cs
- TreeNode.cs
- XmlSerializer.cs
- QualifiedCellIdBoolean.cs
- SqlSupersetValidator.cs
- ControllableStoryboardAction.cs
- ToggleButtonAutomationPeer.cs
- StringSorter.cs
- PeerCustomResolverBindingElement.cs
- CollectionChangeEventArgs.cs
- AnnotationService.cs
- MasterPage.cs
- StateChangeEvent.cs
- CompareValidator.cs
- CookieProtection.cs
- LocalValueEnumerator.cs
- XmlSchemaAll.cs
- VectorAnimationBase.cs
- WmlValidationSummaryAdapter.cs
- CryptoStream.cs
- PropertyGridEditorPart.cs
- IntSecurity.cs
- DispatcherHookEventArgs.cs
- CalendarAutoFormatDialog.cs
- OleDbTransaction.cs
- XmlComplianceUtil.cs
- DataGridViewAccessibleObject.cs
- SparseMemoryStream.cs
- BaseDataBoundControl.cs
- XmlUrlResolver.cs
- ProxyElement.cs
- ObjRef.cs
- selecteditemcollection.cs
- HttpInputStream.cs
- DeviceFilterEditorDialog.cs
- DataError.cs
- PrintPreviewDialog.cs
- BinaryFormatterWriter.cs
- ConcurrentBag.cs
- JpegBitmapEncoder.cs
- ParserOptions.cs
- DependencyProperty.cs
- ErrorWebPart.cs
- MemberMemberBinding.cs
- ArgumentsParser.cs
- UserNameServiceElement.cs
- UTF8Encoding.cs
- RegistryConfigurationProvider.cs
- SqlXml.cs
- SynchronizationContext.cs
- ServiceModelSecurityTokenTypes.cs
- RequestCachePolicy.cs
- SHA1.cs
- VolatileEnlistmentMultiplexing.cs
- XPathMessageFilter.cs
- cache.cs
- BitVec.cs
- DrawingAttributes.cs
- WindowsStartMenu.cs
- Shape.cs
- DependencyPropertyAttribute.cs
- Handle.cs
- LinqDataSourceContextEventArgs.cs
- RectangleConverter.cs
- XmlSchemas.cs
- ArrangedElementCollection.cs
- ErrorStyle.cs
- LongValidator.cs