Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Profile / ProfileProvider.cs / 1 / 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; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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); } [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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]; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DotAtomReader.cs
- UntrustedRecipientException.cs
- ScrollContentPresenter.cs
- UnmanagedMarshal.cs
- PageMediaType.cs
- WindowsToolbarItemAsMenuItem.cs
- WindowsEditBoxRange.cs
- AutoScrollHelper.cs
- MenuAutomationPeer.cs
- GridViewCancelEditEventArgs.cs
- ErrorProvider.cs
- ServiceReference.cs
- ExpressionConverter.cs
- ServicePrincipalNameElement.cs
- XComponentModel.cs
- AnimationLayer.cs
- RtfToXamlReader.cs
- recordstatescratchpad.cs
- RowUpdatingEventArgs.cs
- Viewport3DVisual.cs
- WmlCommandAdapter.cs
- SamlConditions.cs
- SoapFormatExtensions.cs
- WindowsButton.cs
- Classification.cs
- ConditionedDesigner.cs
- WebPartTracker.cs
- BindingExpressionBase.cs
- PageRequestManager.cs
- ImportCatalogPart.cs
- ThreadAbortException.cs
- ThreadSafeList.cs
- Registry.cs
- ProfileSettingsCollection.cs
- SqlNodeAnnotation.cs
- Vector3D.cs
- BuiltInPermissionSets.cs
- __Filters.cs
- NullableBoolConverter.cs
- FlowStep.cs
- RegexRunnerFactory.cs
- AdornerHitTestResult.cs
- MemberBinding.cs
- HttpStaticObjectsCollectionWrapper.cs
- MaterialCollection.cs
- Condition.cs
- TriState.cs
- SynchronizationContext.cs
- CapabilitiesAssignment.cs
- RsaSecurityKey.cs
- ProfileSection.cs
- EdmComplexPropertyAttribute.cs
- LinkUtilities.cs
- ServiceDiscoveryElement.cs
- Style.cs
- DeviceFilterEditorDialog.cs
- TextTreeObjectNode.cs
- Size3DConverter.cs
- DbDataReader.cs
- TemplateControlParser.cs
- ListControl.cs
- TreeViewImageGenerator.cs
- EventMappingSettingsCollection.cs
- CompilerHelpers.cs
- FrugalList.cs
- SetStoryboardSpeedRatio.cs
- SchemaSetCompiler.cs
- WriteableBitmap.cs
- Shape.cs
- XmlWriter.cs
- LineSegment.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TypeElementCollection.cs
- SharedDp.cs
- CodeEntryPointMethod.cs
- ScrollData.cs
- BamlLocalizer.cs
- FormViewCommandEventArgs.cs
- ValueConversionAttribute.cs
- ItemsControl.cs
- AttachmentService.cs
- SynchronizingStream.cs
- InputProviderSite.cs
- FigureParagraph.cs
- EventLogPermissionAttribute.cs
- NativeMethods.cs
- ProfileGroupSettingsCollection.cs
- CompositionTarget.cs
- BoundPropertyEntry.cs
- embossbitmapeffect.cs
- WebPartsSection.cs
- UrlRoutingModule.cs
- ProxyWebPartManager.cs
- PlainXmlWriter.cs
- MouseEventArgs.cs
- ActivationArguments.cs
- RoleManagerModule.cs
- ConfigurationLoaderException.cs
- ZipIORawDataFileBlock.cs
- XmlObjectSerializer.cs