Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / IApplicationUserProvider Interface / TryGetApplicationUser Method
The Principal being resolved
The application user if it could be provided

In This Topic
    TryGetApplicationUser Method (IApplicationUserProvider)
    In This Topic
    Determine the application user for the provided principal
    Syntax
    'Declaration
     
    
    Function TryGetApplicationUser( _
       ByVal principal As IPrincipal, _
       ByVal applicationUser As Lazy(Of ApplicationUser) _
    ) As Boolean

    Parameters

    principal
    The Principal being resolved
    applicationUser
    The application user if it could be provided

    Return Value

    True if the application user could be provided, false otherwise.
    Remarks
    Application Users are lazily initialized when the Value property is invoked, but the ApplicationUser object will be ignored if the method returns false.
    Requirements

    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