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
- ObjectViewEntityCollectionData.cs
- Decimal.cs
- GorillaCodec.cs
- SettingsBase.cs
- PointConverter.cs
- Size3DValueSerializer.cs
- Point4D.cs
- MouseActionConverter.cs
- WebHeaderCollection.cs
- SiteMapPath.cs
- MissingManifestResourceException.cs
- SelectedCellsChangedEventArgs.cs
- RepeaterCommandEventArgs.cs
- SmtpException.cs
- ScriptResourceMapping.cs
- CompressEmulationStream.cs
- XmlCharCheckingReader.cs
- RoutedEventArgs.cs
- HMACMD5.cs
- CommandCollectionEditor.cs
- ColumnReorderedEventArgs.cs
- MulticastNotSupportedException.cs
- BinaryParser.cs
- VisualBasicReference.cs
- CodeCompileUnit.cs
- RequestQueryProcessor.cs
- LookupNode.cs
- XmlName.cs
- MasterPageParser.cs
- ConnectivityStatus.cs
- SqlXmlStorage.cs
- Atom10FormatterFactory.cs
- Color.cs
- Root.cs
- DataGridCaption.cs
- FormViewDeleteEventArgs.cs
- Camera.cs
- MissingMethodException.cs
- CrossContextChannel.cs
- ErrorActivity.cs
- PositiveTimeSpanValidator.cs
- StringAttributeCollection.cs
- GlobalizationSection.cs
- TypedRowHandler.cs
- Module.cs
- RectAnimationBase.cs
- SequenceDesigner.cs
- IDReferencePropertyAttribute.cs
- ImageCollectionEditor.cs
- FlowDocumentReaderAutomationPeer.cs
- SystemSounds.cs
- CollectionViewGroup.cs
- ParserExtension.cs
- PersistenceProvider.cs
- PointCollection.cs
- AuthenticationModulesSection.cs
- VectorCollectionConverter.cs
- SerializationEventsCache.cs
- AttachmentCollection.cs
- IgnoreSectionHandler.cs
- LicFileLicenseProvider.cs
- TemplateBindingExtensionConverter.cs
- RsaElement.cs
- XmlNodeList.cs
- CharConverter.cs
- NotEqual.cs
- MexServiceChannelBuilder.cs
- SafeBitVector32.cs
- DataControlFieldHeaderCell.cs
- SiteMapNodeItem.cs
- ClientApiGenerator.cs
- XPathNodePointer.cs
- TreeViewEvent.cs
- ToggleButtonAutomationPeer.cs
- DefaultValueTypeConverter.cs
- RuntimeHandles.cs
- WebHostedComPlusServiceHost.cs
- X509UI.cs
- TraceHandlerErrorFormatter.cs
- M3DUtil.cs
- DefaultWorkflowLoaderService.cs
- ErrorWebPart.cs
- FederatedMessageSecurityOverHttpElement.cs
- BoundsDrawingContextWalker.cs
- UpDownBaseDesigner.cs
- DefaultTraceListener.cs
- LineGeometry.cs
- DataGridViewButtonCell.cs
- httpapplicationstate.cs
- NonClientArea.cs
- InkCanvasAutomationPeer.cs
- TextContainerHelper.cs
- Block.cs
- uribuilder.cs
- ProfilePropertySettings.cs
- CssTextWriter.cs
- SymLanguageVendor.cs
- UniqueIdentifierService.cs
- OdbcException.cs
- indexingfiltermarshaler.cs