Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Security / MembershipValidatePasswordEventArgs.cs / 1 / MembershipValidatePasswordEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ValidatePasswordEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ValidatePasswordEventArgs : EventArgs { private string _userName; private string _password; private bool _isNewUser; private bool _cancel; private Exception _failureInformation; public ValidatePasswordEventArgs( string userName, string password, bool isNewUser ) { _userName = userName; _password = password; _isNewUser = isNewUser; _cancel = false; } public string UserName { get{ return _userName; } } public string Password { get{ return _password; } } public bool IsNewUser { get{ return _isNewUser; } } public bool Cancel { get{ return _cancel; } set{ _cancel = value; } } public Exception FailureInformation { get{ return _failureInformation; } set{ _failureInformation = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ValidatePasswordEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ValidatePasswordEventArgs : EventArgs { private string _userName; private string _password; private bool _isNewUser; private bool _cancel; private Exception _failureInformation; public ValidatePasswordEventArgs( string userName, string password, bool isNewUser ) { _userName = userName; _password = password; _isNewUser = isNewUser; _cancel = false; } public string UserName { get{ return _userName; } } public string Password { get{ return _password; } } public bool IsNewUser { get{ return _isNewUser; } } public bool Cancel { get{ return _cancel; } set{ _cancel = value; } } public Exception FailureInformation { get{ return _failureInformation; } set{ _failureInformation = value; } } } } // 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
- QuaternionAnimation.cs
- _ContextAwareResult.cs
- Separator.cs
- XmlDocumentType.cs
- ProfileBuildProvider.cs
- GlobalizationAssembly.cs
- QilXmlReader.cs
- TableItemPattern.cs
- FileRegion.cs
- COM2Enum.cs
- PermissionSetEnumerator.cs
- PointCollection.cs
- ContainerVisual.cs
- Point3DAnimationBase.cs
- AsyncResult.cs
- LeftCellWrapper.cs
- SingleAnimationBase.cs
- SerializerDescriptor.cs
- VisualBrush.cs
- ListItemCollection.cs
- XmlSchema.cs
- DateTimeSerializationSection.cs
- updateconfighost.cs
- ListMarkerLine.cs
- Screen.cs
- TypeUtils.cs
- WebPartCancelEventArgs.cs
- HostSecurityManager.cs
- IPEndPointCollection.cs
- ReturnEventArgs.cs
- StyleModeStack.cs
- PackageRelationship.cs
- MultipartIdentifier.cs
- SqlWebEventProvider.cs
- Classification.cs
- PasswordPropertyTextAttribute.cs
- XamlWrappingReader.cs
- ToolTipService.cs
- MSG.cs
- MSAAEventDispatcher.cs
- CoordinationService.cs
- CustomAttribute.cs
- XamlToRtfParser.cs
- RootNamespaceAttribute.cs
- WorkflowMarkupSerializer.cs
- CompilerState.cs
- DesignerWebPartChrome.cs
- PackageDigitalSignatureManager.cs
- ListenerElementsCollection.cs
- XmlDeclaration.cs
- ControlOperationInvoker.cs
- TypeNameConverter.cs
- MessageSecurityOverMsmqElement.cs
- Repeater.cs
- SystemMulticastIPAddressInformation.cs
- TraceContextRecord.cs
- FixUpCollection.cs
- TransformerTypeCollection.cs
- OracleEncoding.cs
- autovalidator.cs
- WorkflowTransactionOptions.cs
- XmlUnspecifiedAttribute.cs
- DataFormats.cs
- BreakRecordTable.cs
- XmlnsCache.cs
- ToolBarTray.cs
- ReadOnlyPropertyMetadata.cs
- ListViewEditEventArgs.cs
- OrderedDictionary.cs
- ObjectListFieldCollection.cs
- WebPartVerbsEventArgs.cs
- SortAction.cs
- HttpConfigurationSystem.cs
- TextBoxBase.cs
- ConvertersCollection.cs
- SiteMapNodeItem.cs
- StartUpEventArgs.cs
- DataGridViewCheckBoxCell.cs
- XmlSerializerSection.cs
- ConfigurationValidatorBase.cs
- SnapshotChangeTrackingStrategy.cs
- ProcessHostFactoryHelper.cs
- AutoCompleteStringCollection.cs
- SizeChangedEventArgs.cs
- CanExecuteRoutedEventArgs.cs
- SQLInt64Storage.cs
- TypeResolver.cs
- TemplateBindingExpressionConverter.cs
- GeneralTransform2DTo3D.cs
- URLBuilder.cs
- Ref.cs
- ProbeRequestResponseAsyncResult.cs
- ActivityInstanceMap.cs
- SpecialFolderEnumConverter.cs
- ProtocolsConfigurationEntry.cs
- QueryCursorEventArgs.cs
- NamespaceDisplayAutomationPeer.cs
- XmlSerializerFactory.cs
- CapabilitiesAssignment.cs
- XPathNodeInfoAtom.cs