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
- Baml2006SchemaContext.cs
- ZipIOLocalFileHeader.cs
- DesignerPainter.cs
- DbConnectionPool.cs
- JsonSerializer.cs
- SystemResourceKey.cs
- RangeValueProviderWrapper.cs
- ContentWrapperAttribute.cs
- ParameterModifier.cs
- MulticastNotSupportedException.cs
- AppSettingsExpressionBuilder.cs
- FileLevelControlBuilderAttribute.cs
- SoapIgnoreAttribute.cs
- DataGridViewCellStyleChangedEventArgs.cs
- CompiledIdentityConstraint.cs
- EncryptedData.cs
- DbInsertCommandTree.cs
- Brush.cs
- ContainsRowNumberChecker.cs
- bindurihelper.cs
- BevelBitmapEffect.cs
- COAUTHIDENTITY.cs
- IsolatedStorage.cs
- BitmapMetadata.cs
- WinInetCache.cs
- QilValidationVisitor.cs
- Transactions.cs
- ClientFormsIdentity.cs
- WebUtil.cs
- EnumBuilder.cs
- StrokeIntersection.cs
- RsaSecurityToken.cs
- PageBuildProvider.cs
- Crypto.cs
- SafeSystemMetrics.cs
- State.cs
- RSAPKCS1SignatureFormatter.cs
- ValidationHelper.cs
- TextEncodedRawTextWriter.cs
- MetaModel.cs
- MsmqIntegrationValidationBehavior.cs
- PasswordRecovery.cs
- DbConnectionClosed.cs
- AuthenticationManager.cs
- MailWriter.cs
- DataGridComboBoxColumn.cs
- Size3DConverter.cs
- IPeerNeighbor.cs
- AnimatedTypeHelpers.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DynamicILGenerator.cs
- StreamInfo.cs
- CultureInfoConverter.cs
- BitmapEffectGroup.cs
- HMAC.cs
- AppDomainAttributes.cs
- SQLDateTimeStorage.cs
- SubpageParagraph.cs
- SqlDataSourceFilteringEventArgs.cs
- ScriptingJsonSerializationSection.cs
- ApplicationActivator.cs
- FileResponseElement.cs
- HostedTcpTransportManager.cs
- SqlInternalConnectionSmi.cs
- UriSection.cs
- Compiler.cs
- X509IssuerSerialKeyIdentifierClause.cs
- Queue.cs
- StringUtil.cs
- ObjectDataSourceSelectingEventArgs.cs
- DuplicateWaitObjectException.cs
- OptimizerPatterns.cs
- DataGridViewLayoutData.cs
- ObjectDataProvider.cs
- DrawingGroupDrawingContext.cs
- QilLiteral.cs
- IResourceProvider.cs
- GridView.cs
- HtmlControl.cs
- URI.cs
- SiteMapHierarchicalDataSourceView.cs
- MachineKeySection.cs
- WebPartDescriptionCollection.cs
- GetPageCompletedEventArgs.cs
- TextViewSelectionProcessor.cs
- SecurityKeyUsage.cs
- PropertyKey.cs
- ReadOnlyAttribute.cs
- ExtensionQuery.cs
- PersonalizationAdministration.cs
- AuthorizationRuleCollection.cs
- MemberDomainMap.cs
- HostUtils.cs
- CommentEmitter.cs
- ZipIOModeEnforcingStream.cs
- LinqExpressionNormalizer.cs
- CustomErrorCollection.cs
- DocumentNUp.cs
- XPathPatternBuilder.cs
- RangeBaseAutomationPeer.cs