Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / IApplicationUserProvider Interface

In This Topic
    IApplicationUserProvider Interface
    In This Topic
    Implemented to translate an IPrincipal to a Loupe ApplicationUser.
    Public Interface IApplicationUserProvider 
    public interface IApplicationUserProvider 

    Loupe stores extended information about each application user in an ApplicationUser object. This application user is associated with a single IPrincipal based on the name of that principal (from the Identity). Each time a data packet is recorded that has an IPrincipal specified the name is checked. If no ApplicationUser has been provided then the TryGetApplicationUser method is invoked. Once a valid application user is provided it is cached for the remainder of the session and won't be requested again.

    If the application user can't be determined for any reason the provider should return false. The provider can query databases and other information if necessary to get a complete set of information for the application user. Any messages logged by the provider directly or indirectly will be non-blocking, possibly being dropped if necessary, to ensure the Loupe agent doesn't deadlock.

    If the application is running in anonymous mode the ApplicationUserProvider won't be invoked.


    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also