Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; }
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorDialog.cs
- SchemaElementDecl.cs
- WindowsUpDown.cs
- HttpPostedFileWrapper.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- PreProcessor.cs
- SystemIcmpV6Statistics.cs
- TracePayload.cs
- ErrorFormatter.cs
- PagePropertiesChangingEventArgs.cs
- SqlUnionizer.cs
- ExpressionBindingCollection.cs
- GridToolTip.cs
- XmlSchemaInfo.cs
- ADMembershipUser.cs
- CollectionBuilder.cs
- StreamingContext.cs
- HelpKeywordAttribute.cs
- GroupItem.cs
- DocumentViewerHelper.cs
- BuilderPropertyEntry.cs
- DynamicPhysicalDiscoSearcher.cs
- DbProviderManifest.cs
- DataServiceConfiguration.cs
- HttpModulesSection.cs
- XmlQueryOutput.cs
- PageAsyncTaskManager.cs
- KeyValueSerializer.cs
- XNodeNavigator.cs
- ControlEvent.cs
- GPRECT.cs
- CqlQuery.cs
- QuinticEase.cs
- RuleSetReference.cs
- ContractMapping.cs
- FunctionUpdateCommand.cs
- DateTimeFormatInfo.cs
- TableLayout.cs
- COM2ColorConverter.cs
- SqlBulkCopy.cs
- TextSpanModifier.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TypedTableBaseExtensions.cs
- RecordsAffectedEventArgs.cs
- XmlName.cs
- StateManagedCollection.cs
- hresults.cs
- RewritingValidator.cs
- mda.cs
- CacheDependency.cs
- WebPartDeleteVerb.cs
- PipeStream.cs
- ScriptingRoleServiceSection.cs
- ServiceDefaults.cs
- ComboBoxItem.cs
- Storyboard.cs
- _ProxyRegBlob.cs
- CustomTypeDescriptor.cs
- Utility.cs
- HttpCookiesSection.cs
- ExceptionHandlersDesigner.cs
- SQLInt16.cs
- TransformedBitmap.cs
- DefaultShape.cs
- DataGridSortCommandEventArgs.cs
- SharedConnectionListener.cs
- BindToObject.cs
- BCryptSafeHandles.cs
- _DisconnectOverlappedAsyncResult.cs
- BitmapEffectGroup.cs
- BinaryFormatterWriter.cs
- SafeBitVector32.cs
- SchemaImporter.cs
- EpmContentSerializerBase.cs
- Context.cs
- CodeCommentStatementCollection.cs
- MessageSecurityOverHttpElement.cs
- EntityConnection.cs
- xamlnodes.cs
- EncodingStreamWrapper.cs
- XPathPatternBuilder.cs
- HttpRuntimeSection.cs
- OracleInternalConnection.cs
- GridViewRowCollection.cs
- AdapterDictionary.cs
- KeyProperty.cs
- BufferedGraphicsManager.cs
- HttpBrowserCapabilitiesWrapper.cs
- FormsAuthenticationModule.cs
- ValidationResults.cs
- XmlHelper.cs
- EventManager.cs
- ErrorHandler.cs
- PreloadedPackages.cs
- InputQueue.cs
- TypeConstant.cs
- KeyGestureConverter.cs
- SafeEventLogReadHandle.cs
- _SpnDictionary.cs
- ServicePointManagerElement.cs