Code:
/ FX-1434 / FX-1434 / 1.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
- ListSortDescription.cs
- OracleInternalConnection.cs
- FormsAuthenticationUser.cs
- SqlUDTStorage.cs
- ComponentResourceKey.cs
- HttpWebRequest.cs
- HttpListenerException.cs
- DataSet.cs
- FixedPageStructure.cs
- ParameterToken.cs
- IISMapPath.cs
- PropertyEmitterBase.cs
- BamlVersionHeader.cs
- DbModificationClause.cs
- ApplicationServiceManager.cs
- TargetParameterCountException.cs
- ColorContextHelper.cs
- SqlDataSourceFilteringEventArgs.cs
- XamlClipboardData.cs
- XomlSerializationHelpers.cs
- EntityDataSourceWrapperCollection.cs
- DataGridViewCellCancelEventArgs.cs
- XsdBuilder.cs
- CompositeDataBoundControl.cs
- DBCSCodePageEncoding.cs
- ObjectStateManager.cs
- FixedTextContainer.cs
- PrimarySelectionAdorner.cs
- EventDescriptor.cs
- WebFormsRootDesigner.cs
- ReadOnlyCollectionBase.cs
- XmlAttributeCache.cs
- XmlNodeChangedEventArgs.cs
- PiiTraceSource.cs
- ViewGenResults.cs
- embossbitmapeffect.cs
- TaskFormBase.cs
- SqlAggregateChecker.cs
- TrustSection.cs
- Ipv6Element.cs
- PerformanceCounterPermission.cs
- MemberAccessException.cs
- ComponentDesigner.cs
- XmlProcessingInstruction.cs
- RoleGroup.cs
- Html32TextWriter.cs
- DaylightTime.cs
- ThaiBuddhistCalendar.cs
- _HelperAsyncResults.cs
- SessionIDManager.cs
- ContentDisposition.cs
- FormViewModeEventArgs.cs
- CustomBindingCollectionElement.cs
- ButtonColumn.cs
- OleDbStruct.cs
- RestHandlerFactory.cs
- WriteTimeStream.cs
- SqlUserDefinedTypeAttribute.cs
- ControlDesignerState.cs
- listitem.cs
- X509CertificateClaimSet.cs
- ListViewTableRow.cs
- Filter.cs
- KeyValueConfigurationCollection.cs
- ReverseInheritProperty.cs
- SplashScreen.cs
- Timer.cs
- OleDbParameterCollection.cs
- MenuEventArgs.cs
- BaseValidator.cs
- WebPartConnectionsCancelVerb.cs
- DataPagerCommandEventArgs.cs
- ThaiBuddhistCalendar.cs
- BamlLocalizableResource.cs
- FileInfo.cs
- OdbcDataAdapter.cs
- StrokeFIndices.cs
- NodeLabelEditEvent.cs
- ConnectionConsumerAttribute.cs
- LinqDataSourceContextEventArgs.cs
- AppendHelper.cs
- UrlMappingsSection.cs
- SerializationStore.cs
- DataDocumentXPathNavigator.cs
- ParenthesizePropertyNameAttribute.cs
- CodeGenerator.cs
- _NestedMultipleAsyncResult.cs
- MachineKeySection.cs
- SqlDuplicator.cs
- List.cs
- VerificationAttribute.cs
- PrimarySelectionGlyph.cs
- DelegateTypeInfo.cs
- PropertyConverter.cs
- CodeParameterDeclarationExpressionCollection.cs
- Scene3D.cs
- documentsequencetextcontainer.cs
- SafeRightsManagementHandle.cs
- FacetChecker.cs
- ISessionStateStore.cs