Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Security / FormsAuthenticationEventArgs.cs / 1305376 / 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. /// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlAttributeOverrides.cs
- DataPagerFieldItem.cs
- DbProviderConfigurationHandler.cs
- SoapSchemaExporter.cs
- EmptyCollection.cs
- ListParagraph.cs
- VersionedStream.cs
- KeyMatchBuilder.cs
- XmlTextEncoder.cs
- StringConverter.cs
- RangeValidator.cs
- DocumentScope.cs
- PasswordRecovery.cs
- LookupNode.cs
- CapabilitiesUse.cs
- messageonlyhwndwrapper.cs
- DocumentCollection.cs
- WindowAutomationPeer.cs
- WebPartConnectionsCloseVerb.cs
- ValidatorCollection.cs
- SqlDataSourceConfigureSelectPanel.cs
- PlatformNotSupportedException.cs
- BindingExpressionBase.cs
- OperationAbortedException.cs
- BufferedMessageWriter.cs
- PermissionSetEnumerator.cs
- PreviewKeyDownEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- ReferencedType.cs
- CompareInfo.cs
- OperationAbortedException.cs
- BindingContext.cs
- PermissionAttributes.cs
- TraversalRequest.cs
- ItemMap.cs
- IssuanceTokenProviderState.cs
- PreviewControlDesigner.cs
- CommandConverter.cs
- DefaultValueAttribute.cs
- SubqueryRules.cs
- RegisteredDisposeScript.cs
- Win32.cs
- UserPersonalizationStateInfo.cs
- EntitySetBase.cs
- ExpressionSelection.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ActiveXSite.cs
- FilterableAttribute.cs
- ComponentResourceKey.cs
- ObjectListShowCommandsEventArgs.cs
- SqlError.cs
- IndependentAnimationStorage.cs
- LogLogRecordEnumerator.cs
- Hex.cs
- TdsParserSessionPool.cs
- MouseGestureConverter.cs
- PropertyTab.cs
- CopyOfAction.cs
- ColumnWidthChangedEvent.cs
- DBConnectionString.cs
- UriScheme.cs
- ReadOnlyDataSourceView.cs
- FontStyleConverter.cs
- PropertyEmitter.cs
- CollectionViewGroupInternal.cs
- SerializationObjectManager.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- WmpBitmapEncoder.cs
- QueryInterceptorAttribute.cs
- ItemCheckEvent.cs
- FontResourceCache.cs
- CustomTrackingRecord.cs
- InputLanguageEventArgs.cs
- WebContext.cs
- DataServiceRequestArgs.cs
- BitmapEffect.cs
- BinaryConverter.cs
- SamlAttributeStatement.cs
- PropertySegmentSerializer.cs
- SimplePropertyEntry.cs
- MergablePropertyAttribute.cs
- DataGridAddNewRow.cs
- FormClosedEvent.cs
- ListenerConnectionModeReader.cs
- Utils.cs
- StructuralComparisons.cs
- ApplicationId.cs
- ListMarkerSourceInfo.cs
- hresults.cs
- DiagnosticTrace.cs
- InvalidOperationException.cs
- CachedCompositeFamily.cs
- IItemContainerGenerator.cs
- Page.cs
- DBSchemaTable.cs
- SizeValueSerializer.cs
- DecimalStorage.cs
- HttpHandlerActionCollection.cs
- ClientBuildManager.cs
- CloudCollection.cs