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
- PeerName.cs
- SqlConnectionStringBuilder.cs
- DynamicActivityProperty.cs
- WindowsListViewSubItem.cs
- VisualBasicDesignerHelper.cs
- TriggerAction.cs
- GeneratedCodeAttribute.cs
- FontFamily.cs
- IntegerValidator.cs
- ResourcePermissionBaseEntry.cs
- Normalization.cs
- BufferedGraphicsManager.cs
- Attribute.cs
- SyndicationSerializer.cs
- DocumentOrderQuery.cs
- TextProperties.cs
- wgx_render.cs
- ProcessModelSection.cs
- MultiPropertyDescriptorGridEntry.cs
- HostProtectionException.cs
- MsmqIntegrationSecurity.cs
- Codec.cs
- EntityDescriptor.cs
- Operand.cs
- GroupQuery.cs
- RuleRefElement.cs
- WebPartPersonalization.cs
- XmlObjectSerializerWriteContextComplex.cs
- XmlReturnWriter.cs
- XPathAxisIterator.cs
- TraceUtility.cs
- DbBuffer.cs
- FixedSOMTableCell.cs
- DiffuseMaterial.cs
- ExpandableObjectConverter.cs
- ValidatorCompatibilityHelper.cs
- ResourceDisplayNameAttribute.cs
- X509CertificateClaimSet.cs
- PropagatorResult.cs
- PropertyFilterAttribute.cs
- DesignOnlyAttribute.cs
- SimpleMailWebEventProvider.cs
- SqlNodeTypeOperators.cs
- BamlTreeMap.cs
- WebPartTransformerAttribute.cs
- odbcmetadatafactory.cs
- NullRuntimeConfig.cs
- PageParserFilter.cs
- DataGridViewColumnConverter.cs
- ResXResourceSet.cs
- ObjectNavigationPropertyMapping.cs
- RandomNumberGenerator.cs
- XPathParser.cs
- ModulesEntry.cs
- indexingfiltermarshaler.cs
- ManipulationPivot.cs
- XmlWrappingReader.cs
- DynamicValidatorEventArgs.cs
- DataProtection.cs
- ConnectionStringsSection.cs
- CacheOutputQuery.cs
- SendSecurityHeaderElement.cs
- AttributeQuery.cs
- TypeInfo.cs
- DbConnectionPool.cs
- DbConnectionPoolCounters.cs
- TextHintingModeValidation.cs
- UniqueCodeIdentifierScope.cs
- OperationResponse.cs
- StyleSheetRefUrlEditor.cs
- MsmqIntegrationOutputChannel.cs
- ReaderContextStackData.cs
- CryptographicAttribute.cs
- EnumerableRowCollection.cs
- PersonalizationDictionary.cs
- NTAccount.cs
- GlyphElement.cs
- TextProperties.cs
- GeometryHitTestResult.cs
- AnnotationObservableCollection.cs
- TextSelectionProcessor.cs
- BoolExpressionVisitors.cs
- AuthStoreRoleProvider.cs
- XmlHierarchicalEnumerable.cs
- OpenTypeLayout.cs
- SystemTcpConnection.cs
- XPathDocumentIterator.cs
- ClipboardProcessor.cs
- StructuralComparisons.cs
- TabControlToolboxItem.cs
- UnhandledExceptionEventArgs.cs
- MDIControlStrip.cs
- __ConsoleStream.cs
- Lock.cs
- Matrix3D.cs
- DataSourceHelper.cs
- ArrangedElementCollection.cs
- ManagementOperationWatcher.cs
- DataExpression.cs
- TraceSection.cs