Share via


OwinContextExtensions.GetUserManager<TManager> Method (IOwinContext)

 

Gets the user manager from the context.

Namespace:   Microsoft.AspNet.Identity.Owin
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

Syntax

public static TManager GetUserManager<TManager>(
    this IOwinContext context
)
public:
generic<typename TManager>
[ExtensionAttribute]
static TManager GetUserManager(
    IOwinContext^ context
)
static member GetUserManager<'TManager> : 
        context:IOwinContext -> 'TManager
<ExtensionAttribute>
Public Shared Function GetUserManager(Of TManager) (
    context As IOwinContext
) As TManager

Parameters

Return Value

Type: TManager

The user manager from the context.

Type Parameters

  • TManager
    The type of the manager.

See Also

OwinContextExtensions Class
Microsoft.AspNet.Identity.Owin Namespace
ASP.NET Identity

Return to top