Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FontFamily.cs
- SqlNotificationRequest.cs
- ComplexBindingPropertiesAttribute.cs
- LinqDataSourceContextData.cs
- DataObjectMethodAttribute.cs
- StateDesigner.cs
- DrawListViewItemEventArgs.cs
- XPathArrayIterator.cs
- GeneralTransform3DCollection.cs
- TableLayoutCellPaintEventArgs.cs
- DataTemplate.cs
- ClientCredentialsElement.cs
- ListViewPagedDataSource.cs
- GridView.cs
- GridViewSortEventArgs.cs
- ProfessionalColorTable.cs
- ColumnWidthChangingEvent.cs
- BindingBase.cs
- Color.cs
- ConfigurationErrorsException.cs
- ColumnBinding.cs
- HashCodeCombiner.cs
- WebPartMenu.cs
- ConnectionInterfaceCollection.cs
- BitFlagsGenerator.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- Attributes.cs
- _SslState.cs
- InputLanguageEventArgs.cs
- ActivityPreviewDesigner.cs
- AnimationClock.cs
- XmlTextWriter.cs
- WorkflowHostingEndpoint.cs
- EdmSchemaError.cs
- FileFormatException.cs
- WeakEventManager.cs
- WebPartEventArgs.cs
- RouteItem.cs
- EmptyWorkItem.cs
- Atom10FormatterFactory.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SetterTriggerConditionValueConverter.cs
- SkinBuilder.cs
- RandomDelaySendsAsyncResult.cs
- DbDataSourceEnumerator.cs
- WebPartConnectionCollection.cs
- HttpCachePolicyElement.cs
- MetadataException.cs
- StateValidator.cs
- TextPattern.cs
- ResourceReferenceKeyNotFoundException.cs
- ThousandthOfEmRealDoubles.cs
- SqlDependency.cs
- MediaElement.cs
- DbExpressionVisitor.cs
- SemaphoreFullException.cs
- SimpleWebHandlerParser.cs
- shaper.cs
- XmlReader.cs
- Item.cs
- XhtmlBasicLabelAdapter.cs
- PathFigureCollectionConverter.cs
- TrueReadOnlyCollection.cs
- ListViewHitTestInfo.cs
- TreeViewEvent.cs
- HttpListenerRequest.cs
- XmlTextReaderImpl.cs
- ParseHttpDate.cs
- sqlstateclientmanager.cs
- UncommonField.cs
- OletxCommittableTransaction.cs
- InkPresenter.cs
- OutputScopeManager.cs
- DesignerCalendarAdapter.cs
- CompatibleIComparer.cs
- ClientCultureInfo.cs
- UnsupportedPolicyOptionsException.cs
- DesignerActionTextItem.cs
- CounterCreationDataConverter.cs
- FixUp.cs
- CompoundFileStorageReference.cs
- DataGridViewIntLinkedList.cs
- MeshGeometry3D.cs
- BamlRecordHelper.cs
- MLangCodePageEncoding.cs
- FrameDimension.cs
- Paragraph.cs
- ItemCheckedEvent.cs
- XmlBindingWorker.cs
- Rule.cs
- PageContentAsyncResult.cs
- SimpleFieldTemplateFactory.cs
- BoolExpression.cs
- HttpContext.cs
- PopOutPanel.cs
- ToolStripSplitStackLayout.cs
- HttpPostProtocolReflector.cs
- AssemblyNameUtility.cs
- SQLInt16Storage.cs
- DirtyTextRange.cs