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
- MessageQueueKey.cs
- MsmqIntegrationProcessProtocolHandler.cs
- InvokePatternIdentifiers.cs
- StoragePropertyMapping.cs
- TCPListener.cs
- ListViewItemCollectionEditor.cs
- AxisAngleRotation3D.cs
- AvTrace.cs
- RectangleGeometry.cs
- SoapIgnoreAttribute.cs
- MissingSatelliteAssemblyException.cs
- SqlDataSourceParameterParser.cs
- HashSetDebugView.cs
- RuntimeIdentifierPropertyAttribute.cs
- ConstraintEnumerator.cs
- SettingsAttributeDictionary.cs
- TableParaClient.cs
- RenamedEventArgs.cs
- StaticResourceExtension.cs
- Int32AnimationBase.cs
- ListBindingHelper.cs
- ToolStripDropTargetManager.cs
- RbTree.cs
- MetafileHeaderWmf.cs
- SoapFault.cs
- WebWorkflowRole.cs
- TemplateApplicationHelper.cs
- ServiceHttpModule.cs
- UserPreferenceChangingEventArgs.cs
- TextModifier.cs
- WinEventHandler.cs
- Profiler.cs
- DefaultSerializationProviderAttribute.cs
- ChannelSinkStacks.cs
- UnsafeNativeMethods.cs
- WindowsListViewItem.cs
- ConfigUtil.cs
- NoClickablePointException.cs
- XPathArrayIterator.cs
- HostingPreferredMapPath.cs
- EpmSyndicationContentSerializer.cs
- WebPartTransformerCollection.cs
- XmlImplementation.cs
- EventListenerClientSide.cs
- CodeNamespaceImportCollection.cs
- LogStore.cs
- GACIdentityPermission.cs
- DeliveryRequirementsAttribute.cs
- RowTypeElement.cs
- WebPartPersonalization.cs
- RadioButtonBaseAdapter.cs
- ProcessModuleCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- Header.cs
- ScriptServiceAttribute.cs
- ComponentConverter.cs
- TdsParserHelperClasses.cs
- DispatcherEventArgs.cs
- CompilerErrorCollection.cs
- TreeBuilder.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XmlSchemaProviderAttribute.cs
- BinaryObjectWriter.cs
- EventlogProvider.cs
- PeerNameRegistration.cs
- RuntimeWrappedException.cs
- LineServicesRun.cs
- ZoomingMessageFilter.cs
- TemplateControl.cs
- Transform.cs
- XmlIlVisitor.cs
- UpdateEventArgs.cs
- PngBitmapEncoder.cs
- RegexWriter.cs
- DeferredTextReference.cs
- InternalConfigSettingsFactory.cs
- WmpBitmapEncoder.cs
- PhonemeConverter.cs
- MenuAdapter.cs
- RawStylusInput.cs
- UpWmlMobileTextWriter.cs
- DoubleCollectionValueSerializer.cs
- NullableConverter.cs
- EventProviderWriter.cs
- XmlIncludeAttribute.cs
- SqlClientWrapperSmiStream.cs
- DllNotFoundException.cs
- System.Data_BID.cs
- InkSerializer.cs
- JsonEnumDataContract.cs
- UIElementCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- XPathConvert.cs
- DefaultHttpHandler.cs
- XmlQueryStaticData.cs
- AmbientProperties.cs
- EntityFrameworkVersions.cs
- HtmlImage.cs
- RangeValidator.cs
- PointUtil.cs