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
- OlePropertyStructs.cs
- ImageUrlEditor.cs
- SectionInformation.cs
- ApplicationInfo.cs
- SqlWriter.cs
- ContextInformation.cs
- CodeStatementCollection.cs
- PenThreadPool.cs
- XsltOutput.cs
- WebPartConnectionsDisconnectVerb.cs
- HashJoinQueryOperatorEnumerator.cs
- RequestQueryParser.cs
- ProcessModuleCollection.cs
- UpdatePanel.cs
- ChangeBlockUndoRecord.cs
- DbProviderFactories.cs
- KerberosRequestorSecurityToken.cs
- newinstructionaction.cs
- CommonDialog.cs
- TdsParser.cs
- Section.cs
- DebuggerAttributes.cs
- OletxEnlistment.cs
- HtmlEncodedRawTextWriter.cs
- SrgsItemList.cs
- WorkflowServiceBuildProvider.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PersonalizationAdministration.cs
- InfoCardMetadataExchangeClient.cs
- ReliableSessionBindingElementImporter.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XsdCachingReader.cs
- ThreadExceptionDialog.cs
- CommandHelper.cs
- XmlSchemaIdentityConstraint.cs
- DataGridViewAccessibleObject.cs
- Hashtable.cs
- DataGridViewComboBoxColumn.cs
- QueryOptionExpression.cs
- OdbcPermission.cs
- CodeArrayIndexerExpression.cs
- HtmlGenericControl.cs
- ContractMethodParameterInfo.cs
- ConnectionPoint.cs
- updateconfighost.cs
- SynchronizationLockException.cs
- HttpCookie.cs
- MinimizableAttributeTypeConverter.cs
- UrlMappingCollection.cs
- EventProviderBase.cs
- PropertyPath.cs
- DataContractJsonSerializerOperationBehavior.cs
- Storyboard.cs
- DataBindingExpressionBuilder.cs
- HttpServerChannel.cs
- WmlListAdapter.cs
- ProcessModelSection.cs
- SqlStream.cs
- Debug.cs
- KeyFrames.cs
- XamlSerializationHelper.cs
- EntityContainerRelationshipSetEnd.cs
- RuntimeIdentifierPropertyAttribute.cs
- DataGridViewCellStyle.cs
- Viewport2DVisual3D.cs
- CompiledQuery.cs
- TextStore.cs
- WindowsFont.cs
- OverflowException.cs
- DynamicResourceExtension.cs
- WebPartPersonalization.cs
- CodeAttributeArgument.cs
- InputReferenceExpression.cs
- TdsParserStateObject.cs
- DependentList.cs
- DataBoundControlAdapter.cs
- IsolatedStoragePermission.cs
- PhysicalAddress.cs
- InheritedPropertyChangedEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- ChildDocumentBlock.cs
- CircleHotSpot.cs
- WebRequestModuleElementCollection.cs
- SwitchAttribute.cs
- BaseHashHelper.cs
- EventTrigger.cs
- PanningMessageFilter.cs
- CodeTypeMemberCollection.cs
- Query.cs
- MemberAccessException.cs
- Pair.cs
- Point3D.cs
- CurrentChangingEventArgs.cs
- LogicalChannel.cs
- HMACSHA256.cs
- SessionSwitchEventArgs.cs
- COM2ICategorizePropertiesHandler.cs
- ArraySegment.cs
- TextChangedEventArgs.cs
- EncryptedPackageFilter.cs