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
- LassoHelper.cs
- FormClosingEvent.cs
- ExpressionList.cs
- TemplateContent.cs
- CustomCategoryAttribute.cs
- Message.cs
- ProviderConnectionPointCollection.cs
- ToolboxItemSnapLineBehavior.cs
- WebPartEditVerb.cs
- UIHelper.cs
- FormsAuthenticationEventArgs.cs
- DataGridRowsPresenter.cs
- WebProxyScriptElement.cs
- AbandonedMutexException.cs
- PackagePartCollection.cs
- XamlDesignerSerializationManager.cs
- QilBinary.cs
- WebScriptEnablingElement.cs
- EncoderBestFitFallback.cs
- SafeReversePInvokeHandle.cs
- ScrollEvent.cs
- COM2PropertyBuilderUITypeEditor.cs
- NeutralResourcesLanguageAttribute.cs
- HtmlInputCheckBox.cs
- RuleAction.cs
- Message.cs
- TextShapeableCharacters.cs
- UIHelper.cs
- CodeCastExpression.cs
- CookielessHelper.cs
- XmlSchemaAttributeGroup.cs
- BrowserDefinitionCollection.cs
- VirtualPath.cs
- SqlParameterCollection.cs
- WrappedReader.cs
- LoopExpression.cs
- ContentType.cs
- HotSpot.cs
- OrderedHashRepartitionEnumerator.cs
- RuntimeIdentifierPropertyAttribute.cs
- SmtpTransport.cs
- EdmValidator.cs
- InstanceKey.cs
- XmlCharType.cs
- RemoteAsymmetricSignatureFormatter.cs
- Util.cs
- DesignerExtenders.cs
- ReadOnlyDataSource.cs
- ConfigurationConverterBase.cs
- CompilationRelaxations.cs
- GcHandle.cs
- WebPartDisplayModeCollection.cs
- EdmValidator.cs
- SqlTypesSchemaImporter.cs
- XhtmlBasicPageAdapter.cs
- EventToken.cs
- BigInt.cs
- DeclaredTypeValidatorAttribute.cs
- BackStopAuthenticationModule.cs
- TrackBarRenderer.cs
- SqlStatistics.cs
- CallTemplateAction.cs
- LexicalChunk.cs
- EntityStoreSchemaGenerator.cs
- StyleTypedPropertyAttribute.cs
- DataView.cs
- WSSecurityTokenSerializer.cs
- ObjectSet.cs
- SoapFault.cs
- String.cs
- TrackingAnnotationCollection.cs
- Condition.cs
- LowerCaseStringConverter.cs
- ChtmlCommandAdapter.cs
- LinqToSqlWrapper.cs
- HtmlTable.cs
- SQLCharsStorage.cs
- FontUnit.cs
- ClientBuildManagerCallback.cs
- ToolStripComboBox.cs
- SqlEnums.cs
- IndicFontClient.cs
- MemberAccessException.cs
- ChannelAcceptor.cs
- TemplateColumn.cs
- UnionCqlBlock.cs
- OdbcError.cs
- SiteMapProvider.cs
- XPathArrayIterator.cs
- MLangCodePageEncoding.cs
- AuthenticationSchemesHelper.cs
- StringValidatorAttribute.cs
- ButtonFlatAdapter.cs
- CompModSwitches.cs
- WebSysDefaultValueAttribute.cs
- XmlMapping.cs
- ValidationSummary.cs
- FontUnit.cs
- Suspend.cs
- ActivityMarkupSerializer.cs