Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- /* * 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DnsElement.cs
- RootBuilder.cs
- SrgsRulesCollection.cs
- ObjectListItem.cs
- WebAdminConfigurationHelper.cs
- SQLGuid.cs
- Point.cs
- ClientRuntimeConfig.cs
- DefaultAssemblyResolver.cs
- ConstantExpression.cs
- MissingMemberException.cs
- XPathNodeHelper.cs
- cryptoapiTransform.cs
- Int64.cs
- SHA512Managed.cs
- x509utils.cs
- DXD.cs
- RowToParametersTransformer.cs
- Size.cs
- Rect3D.cs
- ThrowHelper.cs
- AppSettings.cs
- SliderAutomationPeer.cs
- QueryPageSettingsEventArgs.cs
- ConsumerConnectionPointCollection.cs
- activationcontext.cs
- ProtocolViolationException.cs
- ReplacementText.cs
- PerformanceCounterManager.cs
- ProcessHostServerConfig.cs
- EventLogException.cs
- SignedPkcs7.cs
- OneWayElement.cs
- ZipIOLocalFileBlock.cs
- SessionStateContainer.cs
- Matrix.cs
- Collection.cs
- SafeEventLogReadHandle.cs
- Validator.cs
- GenericIdentity.cs
- Baml2006Reader.cs
- CodePrimitiveExpression.cs
- TraceHandler.cs
- MetaColumn.cs
- XmlAggregates.cs
- DecimalAnimationBase.cs
- BigInt.cs
- Label.cs
- FuncCompletionCallbackWrapper.cs
- ValidatingReaderNodeData.cs
- ClockGroup.cs
- ByteFacetDescriptionElement.cs
- XmlSchemaType.cs
- wgx_exports.cs
- Bits.cs
- XPathDescendantIterator.cs
- LocalizedNameDescriptionPair.cs
- UIPropertyMetadata.cs
- XmlBoundElement.cs
- AliasedSlot.cs
- TargetConverter.cs
- Function.cs
- TailCallAnalyzer.cs
- VersionedStream.cs
- WebPartConnectionsCloseVerb.cs
- CharKeyFrameCollection.cs
- TemplateControl.cs
- WebPartEditVerb.cs
- FormatPage.cs
- StylusPointPropertyUnit.cs
- Events.cs
- CacheDependency.cs
- contentDescriptor.cs
- SessionEndingEventArgs.cs
- EntityDataSourceChangingEventArgs.cs
- UriScheme.cs
- MessageQueuePermission.cs
- MouseButton.cs
- _StreamFramer.cs
- DefaultMemberAttribute.cs
- WebPartRestoreVerb.cs
- TraceUtility.cs
- ImageListDesigner.cs
- DataMemberFieldConverter.cs
- AnonymousIdentificationModule.cs
- PreProcessInputEventArgs.cs
- CurrentTimeZone.cs
- ObjectContextServiceProvider.cs
- SystemUnicastIPAddressInformation.cs
- HttpListenerTimeoutManager.cs
- AffineTransform3D.cs
- PropVariant.cs
- ComponentManagerBroker.cs
- columnmapkeybuilder.cs
- SmiEventSink_DeferedProcessing.cs
- DictationGrammar.cs
- AsyncDataRequest.cs
- DataGridViewDataErrorEventArgs.cs
- HttpResponseInternalWrapper.cs
- XPathDocumentNavigator.cs