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
- XpsS0ValidatingLoader.cs
- EtwProvider.cs
- AllMembershipCondition.cs
- BamlTreeNode.cs
- QuaternionRotation3D.cs
- Condition.cs
- securitycriticaldataClass.cs
- ContractNamespaceAttribute.cs
- XPathAncestorQuery.cs
- IteratorAsyncResult.cs
- DictionaryMarkupSerializer.cs
- MissingMemberException.cs
- FrugalList.cs
- HijriCalendar.cs
- InkCanvasSelectionAdorner.cs
- XPathDescendantIterator.cs
- ThreadStateException.cs
- FontResourceCache.cs
- HeaderUtility.cs
- EventRecordWrittenEventArgs.cs
- CellCreator.cs
- StringToken.cs
- PopupRoot.cs
- ErrorTableItemStyle.cs
- UriWriter.cs
- ParameterReplacerVisitor.cs
- Duration.cs
- ProxyWebPart.cs
- ShaperBuffers.cs
- PrimitiveXmlSerializers.cs
- FilteredDataSetHelper.cs
- TextEditorCharacters.cs
- HtmlButton.cs
- SafeNativeMethods.cs
- OleDbPropertySetGuid.cs
- DbMetaDataCollectionNames.cs
- CodePageEncoding.cs
- DemultiplexingClientMessageFormatter.cs
- ScrollContentPresenter.cs
- Literal.cs
- VersionedStream.cs
- GroupItemAutomationPeer.cs
- ActivityDesignerResources.cs
- AppearanceEditorPart.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- ExpressionNode.cs
- GlyphsSerializer.cs
- LogSwitch.cs
- XmlSchemas.cs
- Splitter.cs
- LOSFormatter.cs
- DataGridHeaderBorder.cs
- AsynchronousChannelMergeEnumerator.cs
- MenuStrip.cs
- XmlDictionaryReader.cs
- BCLDebug.cs
- ClientProtocol.cs
- DataError.cs
- FunctionParameter.cs
- FlowDocumentFormatter.cs
- ISessionStateStore.cs
- ChildrenQuery.cs
- Literal.cs
- EntitySetBaseCollection.cs
- Message.cs
- RelatedPropertyManager.cs
- MissingFieldException.cs
- DataTableReader.cs
- DateTimePicker.cs
- HtmlWindowCollection.cs
- loginstatus.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ShutDownListener.cs
- FeatureSupport.cs
- IisTraceWebEventProvider.cs
- SqlBulkCopyColumnMappingCollection.cs
- RevocationPoint.cs
- MessageQueue.cs
- ConfigXmlDocument.cs
- TemplateComponentConnector.cs
- ZipIOExtraFieldPaddingElement.cs
- ScheduleChanges.cs
- StandardBindingImporter.cs
- TypedAsyncResult.cs
- RolePrincipal.cs
- GridViewDeleteEventArgs.cs
- MatrixTransform.cs
- ChannelBinding.cs
- Panel.cs
- DataGridViewColumnConverter.cs
- VisualTreeUtils.cs
- SoundPlayerAction.cs
- Win32.cs
- SystemPens.cs
- MethodImplAttribute.cs
- ListViewGroupCollectionEditor.cs
- UICuesEvent.cs
- InvalidDataException.cs
- DependencyObjectValidator.cs
- DynamicDocumentPaginator.cs