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
- ResXResourceReader.cs
- SafeFileMappingHandle.cs
- ClickablePoint.cs
- RelatedImageListAttribute.cs
- TracingConnectionListener.cs
- XmlFormatExtensionPointAttribute.cs
- ProfileEventArgs.cs
- RegexWorker.cs
- ResourcePermissionBaseEntry.cs
- InputLanguageManager.cs
- MaskedTextBox.cs
- LocalTransaction.cs
- ThreadExceptionDialog.cs
- SqlProcedureAttribute.cs
- HtmlTextArea.cs
- ObjectQuery.cs
- SQLDoubleStorage.cs
- WebPartHelpVerb.cs
- Invariant.cs
- ScrollChrome.cs
- DataError.cs
- Property.cs
- RectangleConverter.cs
- FixedDocument.cs
- ImageAttributes.cs
- NumericUpDownAcceleration.cs
- PathSegment.cs
- Transform3D.cs
- HostingEnvironmentSection.cs
- CompressEmulationStream.cs
- MiniParameterInfo.cs
- SmiEventSink_DeferedProcessing.cs
- PathGeometry.cs
- OneToOneMappingSerializer.cs
- BaseCAMarshaler.cs
- XmlDataCollection.cs
- Misc.cs
- rsa.cs
- HMACSHA384.cs
- NetworkInformationException.cs
- ReadOnlyAttribute.cs
- FlowDocument.cs
- DecoratedNameAttribute.cs
- ContextMenu.cs
- XpsFilter.cs
- SafeFileHandle.cs
- TextServicesDisplayAttribute.cs
- EmptyControlCollection.cs
- ShaderEffect.cs
- PeerCollaborationPermission.cs
- SafeUserTokenHandle.cs
- BitmapInitialize.cs
- InternalRelationshipCollection.cs
- TextTreeRootNode.cs
- InternalTypeHelper.cs
- ProfileProvider.cs
- columnmapkeybuilder.cs
- Visitors.cs
- StyleBamlTreeBuilder.cs
- SByteStorage.cs
- Translator.cs
- ExpressionEvaluator.cs
- WebMessageEncodingElement.cs
- ArithmeticException.cs
- XPathNodePointer.cs
- SQLSingleStorage.cs
- NotFiniteNumberException.cs
- Empty.cs
- XmlConvert.cs
- DefinitionUpdate.cs
- FormViewRow.cs
- WmfPlaceableFileHeader.cs
- ConfigurationManagerInternal.cs
- RequestCacheValidator.cs
- SecurityResources.cs
- CodeCompiler.cs
- DataControlFieldHeaderCell.cs
- Image.cs
- StringDictionaryWithComparer.cs
- ThicknessAnimationUsingKeyFrames.cs
- _OSSOCK.cs
- Query.cs
- ReadOnlyObservableCollection.cs
- CodeDomExtensionMethods.cs
- SqlExpressionNullability.cs
- oledbmetadatacollectionnames.cs
- SpecialFolderEnumConverter.cs
- ComNativeDescriptor.cs
- Camera.cs
- ZipIOExtraField.cs
- HopperCache.cs
- DataGridColumnHeadersPresenter.cs
- WorkflowApplicationException.cs
- ForceCopyBuildProvider.cs
- OutOfProcStateClientManager.cs
- EmbeddedMailObject.cs
- ChildDocumentBlock.cs
- CodeCatchClauseCollection.cs
- InternalReceiveMessage.cs
- CoreSwitches.cs