Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Security / FormsAuthenticationEventArgs.cs / 1 / FormsAuthenticationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * FormsAuthenticationEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Principal; using System.Security.Permissions; ////// The /// event argument passed to the FormsAuthentication_OnAuthenticate event. Contains a FormsIdentity object and the /// IPrincipal object used for the context. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class FormsAuthenticationEventArgs : EventArgs { private IPrincipal _User; private HttpContext _Context; ////// public IPrincipal User { get { return _User;} [SecurityPermission(SecurityAction.Demand, ControlPrincipal=true)] set { _User = value; } } ///The /// IPrincipal object to be associated with the request. /// ////// This is the HttpContext intrinsic - most /// notably provides access to Request, Response, and User objects. /// public HttpContext Context { get { return _Context;}} ////// Constructor /// public FormsAuthenticationEventArgs(HttpContext context) { _Context = context; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * FormsAuthenticationEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Principal; using System.Security.Permissions; ////// The /// event argument passed to the FormsAuthentication_OnAuthenticate event. Contains a FormsIdentity object and the /// IPrincipal object used for the context. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class FormsAuthenticationEventArgs : EventArgs { private IPrincipal _User; private HttpContext _Context; ////// public IPrincipal User { get { return _User;} [SecurityPermission(SecurityAction.Demand, ControlPrincipal=true)] set { _User = value; } } ///The /// IPrincipal object to be associated with the request. /// ////// This is the HttpContext intrinsic - most /// notably provides access to Request, Response, and User objects. /// public HttpContext Context { get { return _Context;}} ////// Constructor /// public FormsAuthenticationEventArgs(HttpContext context) { _Context = context; } } } // 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
- FontDifferentiator.cs
- Helpers.cs
- ScriptingProfileServiceSection.cs
- SecurityUtils.cs
- NullableFloatAverageAggregationOperator.cs
- BitConverter.cs
- ObjectDisposedException.cs
- GridErrorDlg.cs
- ResourceDisplayNameAttribute.cs
- ContentType.cs
- ViewStateException.cs
- MediaTimeline.cs
- NativeObjectSecurity.cs
- HttpApplicationFactory.cs
- DefaultShape.cs
- TableStyle.cs
- QilPatternVisitor.cs
- EntitySqlException.cs
- PictureBoxDesigner.cs
- Exceptions.cs
- ResolvedKeyFrameEntry.cs
- FloaterBaseParagraph.cs
- EntityType.cs
- InternalBase.cs
- PersonalizationProvider.cs
- BatchWriter.cs
- ScriptDescriptor.cs
- CaretElement.cs
- ContainerUtilities.cs
- ZipIOLocalFileHeader.cs
- QueryComponents.cs
- RemotingServices.cs
- UnionExpr.cs
- PrimitiveType.cs
- CompressStream.cs
- TableLayoutPanelCellPosition.cs
- MenuRendererClassic.cs
- CryptoApi.cs
- StartFileNameEditor.cs
- ChangeDirector.cs
- PkcsUtils.cs
- wgx_commands.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- PagedControl.cs
- XDRSchema.cs
- WindowsButton.cs
- EntityDataSourceViewSchema.cs
- LazyTextWriterCreator.cs
- AnimationClock.cs
- ComplexBindingPropertiesAttribute.cs
- MarshalByRefObject.cs
- QueryContinueDragEvent.cs
- TokenBasedSet.cs
- PolicyChain.cs
- XmlSchemaAll.cs
- SigningCredentials.cs
- WebPartCloseVerb.cs
- HTMLTagNameToTypeMapper.cs
- ZoneIdentityPermission.cs
- XmlSchemaInclude.cs
- HostUtils.cs
- TouchesCapturedWithinProperty.cs
- CurrencyWrapper.cs
- MDIControlStrip.cs
- MoveSizeWinEventHandler.cs
- IBuiltInEvidence.cs
- EntityType.cs
- FileSystemInfo.cs
- PromptStyle.cs
- WizardStepBase.cs
- WebHttpDispatchOperationSelector.cs
- ObjectView.cs
- ManagementQuery.cs
- BlurEffect.cs
- NonVisualControlAttribute.cs
- PageTheme.cs
- PerfService.cs
- LinkedResource.cs
- BamlTreeUpdater.cs
- RichTextBoxConstants.cs
- CodeTypeReferenceCollection.cs
- MailBnfHelper.cs
- IImplicitResourceProvider.cs
- ReflectionUtil.cs
- HostingEnvironmentWrapper.cs
- CounterCreationDataCollection.cs
- GPPOINTF.cs
- XmlReaderSettings.cs
- MissingSatelliteAssemblyException.cs
- Vector3DConverter.cs
- WebBrowserProgressChangedEventHandler.cs
- Material.cs
- XmlParserContext.cs
- DropDownButton.cs
- ParameterModifier.cs
- ShapeTypeface.cs
- RawUIStateInputReport.cs
- Polyline.cs
- NominalTypeEliminator.cs
- ProfileGroupSettingsCollection.cs