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
- WmpBitmapDecoder.cs
- QueuePathEditor.cs
- ShaderEffect.cs
- SafeTimerHandle.cs
- Double.cs
- GridLengthConverter.cs
- SafeSecurityHandles.cs
- IPAddress.cs
- ControlEvent.cs
- PasswordTextNavigator.cs
- XmlSerializerFactory.cs
- SequentialWorkflowRootDesigner.cs
- HttpCacheVaryByContentEncodings.cs
- XmlILStorageConverter.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- SQLConvert.cs
- TypeNameConverter.cs
- Array.cs
- QuaternionAnimation.cs
- WorkflowServiceNamespace.cs
- SqlBulkCopyColumnMappingCollection.cs
- NameObjectCollectionBase.cs
- ToolStripSeparator.cs
- SurrogateEncoder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DropDownList.cs
- NameValuePair.cs
- TreeViewCancelEvent.cs
- HttpCacheVaryByContentEncodings.cs
- ObjectItemAssemblyLoader.cs
- RenderDataDrawingContext.cs
- FixedSOMTable.cs
- ConstructorBuilder.cs
- ToolStripItemDesigner.cs
- FloatAverageAggregationOperator.cs
- Style.cs
- future.cs
- PenContexts.cs
- ColorContextHelper.cs
- DecodeHelper.cs
- SineEase.cs
- TypeSemantics.cs
- AsyncOperationManager.cs
- XmlUtf8RawTextWriter.cs
- AttributeSetAction.cs
- AssemblyCollection.cs
- WindowsNonControl.cs
- SizeChangedInfo.cs
- NullReferenceException.cs
- StaticFileHandler.cs
- SelectedDatesCollection.cs
- ping.cs
- TrustLevel.cs
- login.cs
- SymmetricCryptoHandle.cs
- TextCompositionEventArgs.cs
- Assert.cs
- SimpleRecyclingCache.cs
- WebBrowserBase.cs
- InkCanvasInnerCanvas.cs
- AutomationPatternInfo.cs
- SQLInt16.cs
- TypeReference.cs
- HttpRuntimeSection.cs
- ApplicationFileParser.cs
- TypedDataSourceCodeGenerator.cs
- UserControlBuildProvider.cs
- HashCryptoHandle.cs
- NavigationCommands.cs
- MULTI_QI.cs
- UiaCoreApi.cs
- BidPrivateBase.cs
- GridViewHeaderRowPresenter.cs
- TemplateBuilder.cs
- HtmlInputCheckBox.cs
- securitycriticaldataformultiplegetandset.cs
- UIPropertyMetadata.cs
- Image.cs
- AdRotator.cs
- CompositeClientFormatter.cs
- PieceDirectory.cs
- SaveFileDialog.cs
- ModelPropertyDescriptor.cs
- ByeMessageCD1.cs
- TableHeaderCell.cs
- Boolean.cs
- EditCommandColumn.cs
- sqlpipe.cs
- PasswordRecoveryAutoFormat.cs
- _FtpDataStream.cs
- NamespaceQuery.cs
- SimpleFileLog.cs
- BuildDependencySet.cs
- WebPartDisplayModeCancelEventArgs.cs
- BitStream.cs
- DataTableClearEvent.cs
- MailWebEventProvider.cs
- SpeechRecognitionEngine.cs
- SoapAttributeAttribute.cs
- BitmapEffectRenderDataResource.cs