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
- DesignerOptionService.cs
- Number.cs
- ObfuscationAttribute.cs
- StructuredTypeEmitter.cs
- DataGridAddNewRow.cs
- FullTrustAssembliesSection.cs
- LicenseContext.cs
- LingerOption.cs
- ScriptHandlerFactory.cs
- TemplatePartAttribute.cs
- NativeMethods.cs
- WebBrowserUriTypeConverter.cs
- clipboard.cs
- RequestResizeEvent.cs
- StrongNamePublicKeyBlob.cs
- KeyboardEventArgs.cs
- GridViewDesigner.cs
- XmlValidatingReader.cs
- SByte.cs
- _AutoWebProxyScriptHelper.cs
- CompressedStack.cs
- OleDbRowUpdatedEvent.cs
- Page.cs
- TraceUtils.cs
- SafeHandle.cs
- TreeView.cs
- EpmCustomContentSerializer.cs
- BrushConverter.cs
- SubclassTypeValidatorAttribute.cs
- SplineKeyFrames.cs
- ExpressionBuilder.cs
- coordinator.cs
- SqlFacetAttribute.cs
- PageCatalogPart.cs
- WorkflowTransactionService.cs
- TransformGroup.cs
- TableLayoutSettings.cs
- Hash.cs
- FixUp.cs
- MobileCapabilities.cs
- OrderedDictionaryStateHelper.cs
- HttpException.cs
- ReferencedAssemblyResolver.cs
- TextDecorationCollection.cs
- CompensationDesigner.cs
- MessageBox.cs
- CheckBox.cs
- ComponentChangingEvent.cs
- FormatException.cs
- XsdSchemaFileEditor.cs
- ClockGroup.cs
- RemoveStoryboard.cs
- OleDbConnectionFactory.cs
- ModifiableIteratorCollection.cs
- CodeDOMProvider.cs
- AsyncSerializedWorker.cs
- TypedReference.cs
- cookiecontainer.cs
- StreamWithDictionary.cs
- DocumentEventArgs.cs
- HttpCachePolicy.cs
- Policy.cs
- QilChoice.cs
- Socket.cs
- PropertyRef.cs
- StorageScalarPropertyMapping.cs
- LinkTarget.cs
- PenContext.cs
- ConfigDefinitionUpdates.cs
- SqlXmlStorage.cs
- InstanceLockedException.cs
- EmptyReadOnlyDictionaryInternal.cs
- EntityClientCacheKey.cs
- SQLMoneyStorage.cs
- Int32Collection.cs
- AnimationLayer.cs
- TreeViewEvent.cs
- OrCondition.cs
- TableLayout.cs
- SubclassTypeValidatorAttribute.cs
- RemoteCryptoTokenProvider.cs
- X509SecurityTokenParameters.cs
- OleDbPermission.cs
- _IPv4Address.cs
- EnumerableValidator.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- CardSpaceSelector.cs
- XmlNavigatorFilter.cs
- XamlTemplateSerializer.cs
- RegexGroupCollection.cs
- SqlDataSourceStatusEventArgs.cs
- HtmlFormWrapper.cs
- CodeDomLocalizationProvider.cs
- Utils.cs
- NetworkInformationPermission.cs
- PinnedBufferMemoryStream.cs
- SchemaImporter.cs
- AggregateNode.cs
- FormView.cs
- DataTableMapping.cs