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
- DbConnectionHelper.cs
- TCPClient.cs
- SettingsProviderCollection.cs
- OleDbError.cs
- Panel.cs
- ObjectToIdCache.cs
- WebPartVerb.cs
- Executor.cs
- OutputCacheProviderCollection.cs
- UserInitiatedNavigationPermission.cs
- DBCommand.cs
- SchemaImporterExtension.cs
- ReadOnlyHierarchicalDataSource.cs
- QueryOutputWriter.cs
- CodeRemoveEventStatement.cs
- cryptoapiTransform.cs
- TextServicesCompartmentEventSink.cs
- TimeZone.cs
- ControlIdConverter.cs
- TextEditorSpelling.cs
- StorageMappingItemCollection.cs
- Number.cs
- RectKeyFrameCollection.cs
- FlowDocument.cs
- EmptyEnumerable.cs
- RegexCompiler.cs
- TransactionFlowProperty.cs
- ProcessHostConfigUtils.cs
- formatstringdialog.cs
- Button.cs
- XmlSerializerVersionAttribute.cs
- GlyphElement.cs
- CheckBox.cs
- ServiceMemoryGates.cs
- ZoneButton.cs
- ColorConvertedBitmap.cs
- Transaction.cs
- TypeListConverter.cs
- TailCallAnalyzer.cs
- ParamArrayAttribute.cs
- externdll.cs
- XPathScanner.cs
- ACE.cs
- Cursor.cs
- DesignerTransactionCloseEvent.cs
- DispatcherHookEventArgs.cs
- RoleGroupCollectionEditor.cs
- LocalValueEnumerator.cs
- MetaModel.cs
- HtmlControl.cs
- XhtmlBasicPanelAdapter.cs
- PageThemeParser.cs
- ControlBuilderAttribute.cs
- TableItemPattern.cs
- SerializationHelper.cs
- ExecutedRoutedEventArgs.cs
- TextFormatterHost.cs
- ConfigXmlAttribute.cs
- StringSorter.cs
- SynchronizedCollection.cs
- SecurityHeaderTokenResolver.cs
- StateFinalizationDesigner.cs
- hebrewshape.cs
- QueryableDataSource.cs
- ReadOnlyActivityGlyph.cs
- AsymmetricSignatureFormatter.cs
- DetailsViewPageEventArgs.cs
- IBuiltInEvidence.cs
- XmlNodeList.cs
- DesignerTransactionCloseEvent.cs
- TraceContext.cs
- EdmPropertyAttribute.cs
- WindowsAuthenticationEventArgs.cs
- DateTimeConverter.cs
- ParallelEnumerableWrapper.cs
- OdbcReferenceCollection.cs
- VisualProxy.cs
- Utils.cs
- DeflateStream.cs
- BamlBinaryReader.cs
- GradientBrush.cs
- MachineSettingsSection.cs
- ColumnMapTranslator.cs
- PageContent.cs
- RectAnimationUsingKeyFrames.cs
- baseaxisquery.cs
- Compilation.cs
- CompilationRelaxations.cs
- URLAttribute.cs
- EntityDesignerBuildProvider.cs
- HtmlInputReset.cs
- UIElement.cs
- UshortList2.cs
- SourceFilter.cs
- BitmapVisualManager.cs
- TraceFilter.cs
- XmlStreamStore.cs
- ImageAnimator.cs
- HttpListenerPrefixCollection.cs
- XmlSchemaObject.cs