Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Query.cs
- CodeDomDecompiler.cs
- MessageBox.cs
- WpfXamlLoader.cs
- Events.cs
- PropertyPathWorker.cs
- AccessorTable.cs
- SqlMetaData.cs
- SecurityTokenAuthenticator.cs
- DependencyPropertyHelper.cs
- TreeNodeStyle.cs
- SwitchElementsCollection.cs
- WinEventTracker.cs
- ResourcePool.cs
- DataIdProcessor.cs
- TypeHelper.cs
- PropertiesTab.cs
- ObjectManager.cs
- SqlEnums.cs
- Attachment.cs
- XmlSchemaException.cs
- ConnectionsZoneAutoFormat.cs
- FrameworkTextComposition.cs
- BufferModesCollection.cs
- SQLSingle.cs
- DynamicQueryableWrapper.cs
- SQLDoubleStorage.cs
- HtmlTernaryTree.cs
- BitmapDecoder.cs
- ToolStripPanelRenderEventArgs.cs
- HttpCacheParams.cs
- SelectorAutomationPeer.cs
- FixUpCollection.cs
- BypassElementCollection.cs
- WebRequestModuleElementCollection.cs
- WindowsImpersonationContext.cs
- TableSectionStyle.cs
- InvalidCastException.cs
- _SafeNetHandles.cs
- FileDialog.cs
- DataGridViewCellStyle.cs
- WeakEventManager.cs
- Synchronization.cs
- IndentedTextWriter.cs
- METAHEADER.cs
- FacetValueContainer.cs
- WinEventWrap.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- AssemblyCache.cs
- UnauthorizedWebPart.cs
- DataFormats.cs
- ExpressionParser.cs
- DBAsyncResult.cs
- iisPickupDirectory.cs
- DesignerObjectListAdapter.cs
- XmlSerializerVersionAttribute.cs
- basevalidator.cs
- PathSegmentCollection.cs
- printdlgexmarshaler.cs
- DebugTraceHelper.cs
- EtwTrace.cs
- BitStack.cs
- NumericExpr.cs
- XmlSchemaAnyAttribute.cs
- Converter.cs
- DurableInstance.cs
- ViewStateException.cs
- PageRequestManager.cs
- CompositeDesignerAccessibleObject.cs
- TransactionManager.cs
- EventRoute.cs
- XmlHelper.cs
- SynchronizationLockException.cs
- ContentPlaceHolderDesigner.cs
- RequestCacheValidator.cs
- Transform3DCollection.cs
- WindowsUpDown.cs
- HScrollBar.cs
- ellipse.cs
- TreeViewCancelEvent.cs
- WhereQueryOperator.cs
- TypefaceCollection.cs
- LocalizationComments.cs
- PanelContainerDesigner.cs
- TemplatedEditableDesignerRegion.cs
- DbConnectionStringBuilder.cs
- _CommandStream.cs
- DataColumnMapping.cs
- GridItemPattern.cs
- IODescriptionAttribute.cs
- Ipv6Element.cs
- ImageField.cs
- BoundField.cs
- DecimalSumAggregationOperator.cs
- CompositionTarget.cs
- SeekStoryboard.cs
- PageVisual.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DocumentPropertiesDialog.cs
- MulticastNotSupportedException.cs