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
- WindowsGrip.cs
- PathFigureCollection.cs
- WindowsListView.cs
- DesignerTextViewAdapter.cs
- MethodImplAttribute.cs
- VisualProxy.cs
- FrameworkElement.cs
- HttpCacheVary.cs
- RootBuilder.cs
- StyleCollectionEditor.cs
- CloseCryptoHandleRequest.cs
- ClassHandlersStore.cs
- TextRunTypographyProperties.cs
- Splitter.cs
- ContextMenuAutomationPeer.cs
- BitmapSource.cs
- AjaxFrameworkAssemblyAttribute.cs
- ViewGenerator.cs
- AddingNewEventArgs.cs
- Geometry3D.cs
- Accessors.cs
- Error.cs
- RIPEMD160Managed.cs
- ViewManager.cs
- SoapHeaderException.cs
- MiniCustomAttributeInfo.cs
- OpenTypeLayoutCache.cs
- BasePattern.cs
- CryptoApi.cs
- XmlNotation.cs
- LineBreak.cs
- SafeLibraryHandle.cs
- TraceRecord.cs
- AuthorizationBehavior.cs
- SHA1Cng.cs
- InkCanvasSelection.cs
- RequestCacheManager.cs
- _UncName.cs
- TemplateComponentConnector.cs
- ToolBarButton.cs
- SqlSelectClauseBuilder.cs
- CacheChildrenQuery.cs
- OutputBuffer.cs
- NullRuntimeConfig.cs
- DataSysAttribute.cs
- X509ChainPolicy.cs
- FormsAuthenticationCredentials.cs
- AdornerHitTestResult.cs
- TableSectionStyle.cs
- PasswordTextContainer.cs
- XpsResourceDictionary.cs
- DataObjectCopyingEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- KeySpline.cs
- SortQuery.cs
- InputMethodStateChangeEventArgs.cs
- WorkItem.cs
- Duration.cs
- StylusDevice.cs
- PropertyExpression.cs
- SvcMapFileLoader.cs
- ReadOnlyDataSource.cs
- HttpCapabilitiesBase.cs
- COAUTHIDENTITY.cs
- UiaCoreApi.cs
- DefaultEventAttribute.cs
- ParallelDesigner.cs
- ObjectDataSourceEventArgs.cs
- SvcMapFileLoader.cs
- DistributedTransactionPermission.cs
- GACMembershipCondition.cs
- Logging.cs
- SmiEventStream.cs
- DataFormats.cs
- NullableIntAverageAggregationOperator.cs
- StringInfo.cs
- HelloMessageCD1.cs
- DataGrid.cs
- EntitySetBaseCollection.cs
- mongolianshape.cs
- StorageModelBuildProvider.cs
- Hex.cs
- UriScheme.cs
- SHA256CryptoServiceProvider.cs
- ToolStripDropDownClosedEventArgs.cs
- ServiceReference.cs
- PerformanceCounterManager.cs
- LinqDataSourceContextEventArgs.cs
- InfoCardTraceRecord.cs
- RootBrowserWindowProxy.cs
- ArgumentNullException.cs
- TableStyle.cs
- BooleanSwitch.cs
- MediaPlayer.cs
- ModelEditingScope.cs
- BitmapSourceSafeMILHandle.cs
- _FtpDataStream.cs
- ViewPort3D.cs
- CompiledQuery.cs
- COAUTHIDENTITY.cs