Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WmfPlaceableFileHeader.cs
- FieldAccessException.cs
- HtmlInputPassword.cs
- ErrorTableItemStyle.cs
- SQLBinaryStorage.cs
- PointCollection.cs
- KoreanCalendar.cs
- AvTrace.cs
- GridView.cs
- IpcClientChannel.cs
- TabControl.cs
- SafeCertificateContext.cs
- SerializerProvider.cs
- ApplicationGesture.cs
- StyleXamlParser.cs
- WebServiceEnumData.cs
- IdentityReference.cs
- XmlSubtreeReader.cs
- ConsumerConnectionPoint.cs
- BrowserInteropHelper.cs
- XmlSiteMapProvider.cs
- KeyEventArgs.cs
- StylusPlugin.cs
- CommentAction.cs
- InternalPolicyElement.cs
- GridErrorDlg.cs
- InvokeGenerator.cs
- ConnectionsZone.cs
- BitmapMetadataEnumerator.cs
- MenuItem.cs
- DataColumnCollection.cs
- AuthorizationSection.cs
- safex509handles.cs
- CompositeCollection.cs
- Triangle.cs
- HtmlShimManager.cs
- DeclarativeCatalogPart.cs
- EnlistmentTraceIdentifier.cs
- ScriptManagerProxy.cs
- PriorityBindingExpression.cs
- DatatypeImplementation.cs
- UIElementAutomationPeer.cs
- _ListenerResponseStream.cs
- EventData.cs
- CngUIPolicy.cs
- CuspData.cs
- SafePEFileHandle.cs
- FloatAverageAggregationOperator.cs
- FilteredSchemaElementLookUpTable.cs
- LayoutExceptionEventArgs.cs
- StringSorter.cs
- OdbcConnectionString.cs
- PageEventArgs.cs
- DistributedTransactionPermission.cs
- TouchEventArgs.cs
- PingReply.cs
- FontFamily.cs
- ClientConfigurationSystem.cs
- _CommandStream.cs
- ListManagerBindingsCollection.cs
- HttpGetProtocolImporter.cs
- CategoryGridEntry.cs
- BinarySerializer.cs
- TypeAccessException.cs
- QilChoice.cs
- ResXDataNode.cs
- NamespaceEmitter.cs
- ScrollBarAutomationPeer.cs
- ToolboxDataAttribute.cs
- ThrowHelper.cs
- ReadOnlyObservableCollection.cs
- FixedFindEngine.cs
- HttpValueCollection.cs
- SqlServices.cs
- Scalars.cs
- QuadraticBezierSegment.cs
- TextEndOfSegment.cs
- DesignerEditorPartChrome.cs
- Vector.cs
- GraphicsPath.cs
- DataProviderNameConverter.cs
- PhysicalFontFamily.cs
- StructuredTypeEmitter.cs
- HtmlControlPersistable.cs
- IxmlLineInfo.cs
- UnsafeNativeMethods.cs
- TableColumnCollectionInternal.cs
- DeflateEmulationStream.cs
- OutputScopeManager.cs
- Binding.cs
- ThreadAttributes.cs
- BamlReader.cs
- DateTimeHelper.cs
- DynamicRendererThreadManager.cs
- HwndHost.cs
- InvalidWorkflowException.cs
- CancellationToken.cs
- StateFinalizationActivity.cs
- _Events.cs
- RunClient.cs