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
- ObjectDataSourceSelectingEventArgs.cs
- BaseAppDomainProtocolHandler.cs
- StorageMappingItemLoader.cs
- EncodingInfo.cs
- DesignerLabelAdapter.cs
- ExceptionValidationRule.cs
- CompilerResults.cs
- IndexedString.cs
- SplitContainer.cs
- ImportCatalogPart.cs
- DesignerVerbCollection.cs
- OutputCacheProfile.cs
- CompilerGeneratedAttribute.cs
- PerformanceCountersElement.cs
- ModelVisual3D.cs
- PageSetupDialog.cs
- CompressEmulationStream.cs
- Assert.cs
- Win32SafeHandles.cs
- Event.cs
- IdentityManager.cs
- LassoSelectionBehavior.cs
- DesignerActionUIService.cs
- AssemblyCollection.cs
- GetIsBrowserClientRequest.cs
- TextCompositionEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- RoleGroup.cs
- StringFunctions.cs
- CutCopyPasteHelper.cs
- ReflectionTypeLoadException.cs
- ProxyGenerator.cs
- IncomingWebRequestContext.cs
- AlphabetConverter.cs
- ContentType.cs
- TextProperties.cs
- ServerValidateEventArgs.cs
- MetaTable.cs
- _HTTPDateParse.cs
- WebPartRestoreVerb.cs
- RIPEMD160Managed.cs
- ListViewCancelEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- FaultCallbackWrapper.cs
- BufferedWebEventProvider.cs
- HttpListener.cs
- MaterialGroup.cs
- SqlCommandBuilder.cs
- MemberMemberBinding.cs
- EntityCommandDefinition.cs
- UInt64Storage.cs
- oledbconnectionstring.cs
- PeerApplicationLaunchInfo.cs
- AdCreatedEventArgs.cs
- ChannelSinkStacks.cs
- UnorderedHashRepartitionStream.cs
- Perspective.cs
- SystemBrushes.cs
- IUnknownConstantAttribute.cs
- DataControlPagerLinkButton.cs
- RootBrowserWindowAutomationPeer.cs
- NavigationHelper.cs
- CompositionDesigner.cs
- Point4D.cs
- ExtendedPropertiesHandler.cs
- exports.cs
- TimeStampChecker.cs
- HeaderUtility.cs
- SemaphoreSlim.cs
- WebHeaderCollection.cs
- PropertyMappingExceptionEventArgs.cs
- MemberDomainMap.cs
- SelectionItemProviderWrapper.cs
- ClipboardData.cs
- HiddenFieldPageStatePersister.cs
- AssemblyAttributes.cs
- COM2EnumConverter.cs
- XmlFormatMapping.cs
- LineGeometry.cs
- SqlDataSourceAdvancedOptionsForm.cs
- ImageSource.cs
- CompilationLock.cs
- SwitchCase.cs
- EntityDataSourceContextCreatingEventArgs.cs
- StringFunctions.cs
- WebRequestModuleElement.cs
- TypeResolver.cs
- TextEditorCharacters.cs
- Stacktrace.cs
- ArrayMergeHelper.cs
- TextEditorTyping.cs
- ResetableIterator.cs
- TextStore.cs
- DLinqDataModelProvider.cs
- BookmarkScopeHandle.cs
- TcpWorkerProcess.cs
- DrawingBrush.cs
- ObjectStateManager.cs
- CounterSampleCalculator.cs
- DefaultParameterValueAttribute.cs