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
- SerializationSectionGroup.cs
- AnimatedTypeHelpers.cs
- SmtpSection.cs
- ObjectQueryState.cs
- DependsOnAttribute.cs
- XmlUtf8RawTextWriter.cs
- VisemeEventArgs.cs
- SchemaTypeEmitter.cs
- RunClient.cs
- CodeGotoStatement.cs
- MD5CryptoServiceProvider.cs
- WindowsButton.cs
- CommonDialog.cs
- DefaultMemberAttribute.cs
- PageCache.cs
- PopOutPanel.cs
- DBPropSet.cs
- WebDescriptionAttribute.cs
- OutputCacheSettingsSection.cs
- DataGridViewComboBoxCell.cs
- LinkLabelLinkClickedEvent.cs
- TimeSpanMinutesConverter.cs
- StackSpiller.cs
- OperationInvokerTrace.cs
- SQLBytesStorage.cs
- XmlSchemaComplexContentExtension.cs
- EntityDataSourceConfigureObjectContext.cs
- ResourceProviderFactory.cs
- DrawingImage.cs
- WebPartDeleteVerb.cs
- SHA256.cs
- UpdateProgress.cs
- XsltLibrary.cs
- IntSecurity.cs
- CallContext.cs
- MimeWriter.cs
- OrderByQueryOptionExpression.cs
- DataGridViewTextBoxEditingControl.cs
- FtpRequestCacheValidator.cs
- ObjectDesignerDataSourceView.cs
- BaseAsyncResult.cs
- PersonalizableTypeEntry.cs
- FileDialogPermission.cs
- KnownBoxes.cs
- ObjectComplexPropertyMapping.cs
- TrustSection.cs
- ParameterToken.cs
- TextEditorContextMenu.cs
- RichTextBox.cs
- DefaultPropertyAttribute.cs
- OleDbTransaction.cs
- SqlRemoveConstantOrderBy.cs
- ListView.cs
- UnknownBitmapEncoder.cs
- ZipIOModeEnforcingStream.cs
- Clock.cs
- Pkcs7Signer.cs
- ObjectCloneHelper.cs
- SystemColors.cs
- WriteLine.cs
- SecurityProtocolFactory.cs
- CodeVariableReferenceExpression.cs
- HeaderLabel.cs
- XmlNodeChangedEventManager.cs
- MoveSizeWinEventHandler.cs
- MDIControlStrip.cs
- DeobfuscatingStream.cs
- CorePropertiesFilter.cs
- DataGridPageChangedEventArgs.cs
- FactoryRecord.cs
- GcHandle.cs
- OrderingInfo.cs
- DesignerOptionService.cs
- AsyncPostBackTrigger.cs
- SchemaImporter.cs
- UnsafeNativeMethodsPenimc.cs
- Timer.cs
- TdsParserStateObject.cs
- ChangeDirector.cs
- ItemCheckEvent.cs
- SerializerDescriptor.cs
- ClientTargetCollection.cs
- CollectionViewGroupRoot.cs
- KeyPressEvent.cs
- VerificationAttribute.cs
- BasicCellRelation.cs
- RewritingPass.cs
- AssemblyBuilder.cs
- ThicknessAnimation.cs
- ModelItemImpl.cs
- RuntimeHelpers.cs
- Figure.cs
- EncoderNLS.cs
- ScopeElementCollection.cs
- TextElementEnumerator.cs
- EntityClassGenerator.cs
- Attributes.cs
- AsymmetricSecurityProtocol.cs
- UrlPropertyAttribute.cs
- LineGeometry.cs