Code:
/ DotNET / DotNET / 8.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
- ColumnPropertiesGroup.cs
- HMAC.cs
- _NegoStream.cs
- SerialStream.cs
- PreservationFileWriter.cs
- NavigationExpr.cs
- XmlText.cs
- StackOverflowException.cs
- DataBindEngine.cs
- RuleInfoComparer.cs
- TextContainerChangedEventArgs.cs
- FocusTracker.cs
- ColumnMapTranslator.cs
- RectAnimation.cs
- SettingsAttributeDictionary.cs
- XmlUrlResolver.cs
- FieldNameLookup.cs
- ReadOnlyTernaryTree.cs
- WebPartConnectionsConfigureVerb.cs
- HeaderedContentControl.cs
- AsymmetricKeyExchangeFormatter.cs
- CalloutQueueItem.cs
- CompiledELinqQueryState.cs
- ServicePointManagerElement.cs
- ArgumentValidation.cs
- _MultipleConnectAsync.cs
- CodeAssignStatement.cs
- TextServicesHost.cs
- FilterableAttribute.cs
- MissingManifestResourceException.cs
- IfAction.cs
- X509SecurityToken.cs
- MailAddressParser.cs
- ViewUtilities.cs
- TextChangedEventArgs.cs
- basevalidator.cs
- Int16AnimationUsingKeyFrames.cs
- DataViewSettingCollection.cs
- storepermission.cs
- ContractListAdapter.cs
- DataServiceProviderMethods.cs
- MDIWindowDialog.cs
- ValidationRuleCollection.cs
- StreamInfo.cs
- ChoiceConverter.cs
- StringStorage.cs
- SignedPkcs7.cs
- SoapFormatterSinks.cs
- TraceUtils.cs
- DataGridViewRowHeaderCell.cs
- OptimisticConcurrencyException.cs
- WebCategoryAttribute.cs
- FrameworkElement.cs
- ByteAnimationUsingKeyFrames.cs
- FactoryRecord.cs
- WmlCalendarAdapter.cs
- NativeCppClassAttribute.cs
- CryptoHelper.cs
- BoolExpressionVisitors.cs
- ErrorWrapper.cs
- MatrixUtil.cs
- MediaTimeline.cs
- EventMappingSettingsCollection.cs
- UpdatableWrapper.cs
- Point.cs
- TransformationRules.cs
- Aggregates.cs
- SafeSerializationManager.cs
- DataGridView.cs
- ITextView.cs
- DataSourceXmlSerializationAttribute.cs
- ThreadStartException.cs
- CmsInterop.cs
- _FtpControlStream.cs
- WorkflowInstanceProvider.cs
- DataPagerField.cs
- Registry.cs
- WebColorConverter.cs
- AudienceUriMode.cs
- XmlDataSourceView.cs
- InputMethod.cs
- RectangleConverter.cs
- GridErrorDlg.cs
- SqlWebEventProvider.cs
- IndicCharClassifier.cs
- Panel.cs
- MatrixCamera.cs
- AmbientProperties.cs
- LazyTextWriterCreator.cs
- ListViewItem.cs
- LocatorPartList.cs
- Cursors.cs
- HttpFileCollection.cs
- Exceptions.cs
- EFTableProvider.cs
- HtmlImageAdapter.cs
- webeventbuffer.cs
- CoTaskMemUnicodeSafeHandle.cs
- MetadataItem_Static.cs
- TypeInformation.cs