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
- CodePrimitiveExpression.cs
- IndexingContentUnit.cs
- DataTableMapping.cs
- DataKey.cs
- FieldMetadata.cs
- FontStyles.cs
- SpecialFolderEnumConverter.cs
- DataTemplateKey.cs
- DownloadProgressEventArgs.cs
- EdmScalarPropertyAttribute.cs
- WorkflowServiceHostFactory.cs
- TableLayoutColumnStyleCollection.cs
- InputLanguageCollection.cs
- CompiledQueryCacheKey.cs
- DropDownButton.cs
- ExpressionBuilder.cs
- SurrogateEncoder.cs
- IApplicationTrustManager.cs
- CompressionTransform.cs
- TimeEnumHelper.cs
- FontWeights.cs
- InkCanvasSelectionAdorner.cs
- WindowClosedEventArgs.cs
- TableCellCollection.cs
- TypeSource.cs
- WebPartRestoreVerb.cs
- Annotation.cs
- RC2.cs
- ServiceProviders.cs
- Trace.cs
- RenderCapability.cs
- IntegerValidator.cs
- PageThemeBuildProvider.cs
- ipaddressinformationcollection.cs
- NameNode.cs
- ComplexTypeEmitter.cs
- Hash.cs
- MsmqAppDomainProtocolHandler.cs
- EllipseGeometry.cs
- CompatibleComparer.cs
- SqlMethodTransformer.cs
- FileDialogCustomPlacesCollection.cs
- XmlWrappingReader.cs
- ValidationRuleCollection.cs
- XamlContextStack.cs
- MDIWindowDialog.cs
- FormViewPageEventArgs.cs
- ValidatorCompatibilityHelper.cs
- ScrollProperties.cs
- SQLInt64Storage.cs
- DockingAttribute.cs
- UserControlAutomationPeer.cs
- RawMouseInputReport.cs
- ActivationWorker.cs
- ScopelessEnumAttribute.cs
- CachedCompositeFamily.cs
- WebPartCloseVerb.cs
- DirectoryNotFoundException.cs
- XamlTypeMapper.cs
- MultipleViewPatternIdentifiers.cs
- GroupBox.cs
- GeneralTransformGroup.cs
- WorkflowClientDeliverMessageWrapper.cs
- SafeHandles.cs
- PrintDialog.cs
- UpdateCompiler.cs
- ValueType.cs
- ConcurrentBag.cs
- InkCanvas.cs
- ResolveCriteria11.cs
- precedingquery.cs
- StrokeCollectionConverter.cs
- RemoveStoryboard.cs
- HostedAspNetEnvironment.cs
- TemplateBuilder.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- StorageAssociationTypeMapping.cs
- IxmlLineInfo.cs
- BoundingRectTracker.cs
- EditableTreeList.cs
- ProjectionCamera.cs
- ObjectTypeMapping.cs
- LifetimeServices.cs
- ProxyAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- ControlValuePropertyAttribute.cs
- FlowDocumentFormatter.cs
- ToolTipService.cs
- ConfigurationLoaderException.cs
- FixedTextView.cs
- DateTimeFormatInfo.cs
- LayoutDump.cs
- dsa.cs
- _PooledStream.cs
- StatusBar.cs
- VisualTransition.cs
- InvalidPrinterException.cs
- ListViewTableCell.cs
- FormatException.cs
- XhtmlBasicSelectionListAdapter.cs