Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawItemEvent.cs
- hresults.cs
- ContextMenu.cs
- ExceptionRoutedEventArgs.cs
- ScrollableControl.cs
- BehaviorEditorPart.cs
- PolicyException.cs
- FileDialog_Vista_Interop.cs
- ReadOnlyTernaryTree.cs
- BlurBitmapEffect.cs
- Underline.cs
- CallTemplateAction.cs
- AdPostCacheSubstitution.cs
- XXXOnTypeBuilderInstantiation.cs
- SqlConnectionHelper.cs
- Encoder.cs
- PtsHelper.cs
- SubstitutionDesigner.cs
- UserControl.cs
- ImmutablePropertyDescriptorGridEntry.cs
- MSAAWinEventWrap.cs
- ControlOperationBehavior.cs
- COM2ColorConverter.cs
- PatternMatcher.cs
- ReadOnlyObservableCollection.cs
- TransactionContextValidator.cs
- EFTableProvider.cs
- SettingsBindableAttribute.cs
- ExtenderProviderService.cs
- Content.cs
- MenuItemBindingCollection.cs
- XmlDownloadManager.cs
- Encoder.cs
- XmlSchemaAny.cs
- ListViewSortEventArgs.cs
- EventDescriptor.cs
- CacheOutputQuery.cs
- IPipelineRuntime.cs
- ResourceAttributes.cs
- BitmapInitialize.cs
- ToolStripDropDownItem.cs
- TraceEventCache.cs
- PolyBezierSegmentFigureLogic.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SyndicationDeserializer.cs
- MutexSecurity.cs
- RsaKeyIdentifierClause.cs
- XmlNamedNodeMap.cs
- ValueUtilsSmi.cs
- SmtpClient.cs
- ColumnClickEvent.cs
- BezierSegment.cs
- LocalizationParserHooks.cs
- OrderingInfo.cs
- DesignOnlyAttribute.cs
- LinqToSqlWrapper.cs
- DesignerEventService.cs
- LinqDataSourceDeleteEventArgs.cs
- StreamReader.cs
- Bitmap.cs
- TransactionState.cs
- SimpleMailWebEventProvider.cs
- StandardRuntimeEnumValidatorAttribute.cs
- WinCategoryAttribute.cs
- MLangCodePageEncoding.cs
- MemberPath.cs
- ConsumerConnectionPoint.cs
- ComAwareEventInfo.cs
- InfoCardTrace.cs
- CellQuery.cs
- ImageButton.cs
- XmlCDATASection.cs
- CacheModeConverter.cs
- ReadOnlyDictionary.cs
- tibetanshape.cs
- XmlAttribute.cs
- BeginEvent.cs
- XPathSingletonIterator.cs
- DataFieldConverter.cs
- ListenerConstants.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- EntityDataSourceValidationException.cs
- EntityKeyElement.cs
- ProcessHostFactoryHelper.cs
- EntityViewGenerationConstants.cs
- FlowDocumentView.cs
- StrongName.cs
- _DynamicWinsockMethods.cs
- UIElement.cs
- JsonObjectDataContract.cs
- ReferencedAssembly.cs
- FileEnumerator.cs
- ViewGenerator.cs
- Line.cs
- XmlReflectionMember.cs
- ButtonField.cs
- WindowsEditBox.cs
- UncommonField.cs
- MonthCalendar.cs
- ObjectViewFactory.cs