Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- FieldToken.cs
- WebPartTracker.cs
- FontWeights.cs
- SafeSecurityHandles.cs
- FtpWebResponse.cs
- XmlSchemaImporter.cs
- ModelItemExtensions.cs
- FamilyCollection.cs
- GroupBoxDesigner.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TextPatternIdentifiers.cs
- TabPanel.cs
- UIElementHelper.cs
- TableLayoutPanel.cs
- SystemFonts.cs
- EnumBuilder.cs
- Pen.cs
- XmlSchemaDatatype.cs
- PatternMatcher.cs
- SecurityContextKeyIdentifierClause.cs
- PolicyException.cs
- ListChangedEventArgs.cs
- XsdBuildProvider.cs
- RealProxy.cs
- CursorConverter.cs
- ListItemConverter.cs
- SubMenuStyleCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- OpenTypeCommon.cs
- Message.cs
- RangeValidator.cs
- InputLanguageProfileNotifySink.cs
- Int16Animation.cs
- CookieParameter.cs
- NumericUpDown.cs
- LogRestartAreaEnumerator.cs
- PrivilegeNotHeldException.cs
- Hyperlink.cs
- RsaSecurityTokenAuthenticator.cs
- WebPartMinimizeVerb.cs
- XmlDataSourceDesigner.cs
- DataListItem.cs
- HtmlMeta.cs
- WorkflowMarkupSerializationException.cs
- MessageFilterException.cs
- Vector.cs
- RuleProcessor.cs
- FileDialogPermission.cs
- ColorAnimationBase.cs
- SqlClientPermission.cs
- ProfilePropertySettings.cs
- RequestCachePolicy.cs
- BufferedStream.cs
- TheQuery.cs
- TriggerBase.cs
- FixedPageAutomationPeer.cs
- ColorIndependentAnimationStorage.cs
- SqlUnionizer.cs
- Thumb.cs
- MoveSizeWinEventHandler.cs
- OrderingExpression.cs
- EntityModelBuildProvider.cs
- hresults.cs
- CommandID.cs
- SchemaNotation.cs
- GenericAuthenticationEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- ViewStateModeByIdAttribute.cs
- DetailsViewDeletedEventArgs.cs
- ADMembershipUser.cs
- SimpleFieldTemplateFactory.cs
- DispatcherHookEventArgs.cs
- ThreadStartException.cs
- CellPartitioner.cs
- TemplateLookupAction.cs
- dataSvcMapFileLoader.cs
- DataGridPageChangedEventArgs.cs
- SapiInterop.cs
- TypeResolvingOptions.cs
- OdbcUtils.cs
- Event.cs
- AttachedPropertyBrowsableAttribute.cs
- PrimitiveList.cs
- MD5CryptoServiceProvider.cs
- CaseInsensitiveComparer.cs
- VScrollBar.cs
- SimpleNameService.cs
- OpenTypeLayoutCache.cs
- SQLDecimalStorage.cs
- RenderingBiasValidation.cs
- SingleObjectCollection.cs
- NameNode.cs
- ListViewTableCell.cs
- Variable.cs
- SmtpLoginAuthenticationModule.cs
- LineGeometry.cs
- DataControlFieldHeaderCell.cs
- safePerfProviderHandle.cs
- Common.cs
- Proxy.cs