Show / Hide Table of Contents

Class RosterUserContext

Inheritance
System.Object
RosterUserContext
Implements
IUserContext
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class RosterUserContext : object, IUserContext

Constructors

View Source

RosterUserContext(IHttpContextAccessor, IUserAndGroupService)

Declaration
public RosterUserContext(IHttpContextAccessor httpContextAccessor, IUserAndGroupService uagService)
Parameters
Type Name Description
IHttpContextAccessor httpContextAccessor
IUserAndGroupService uagService

Methods

View Source

GetRosterUserAsync()

Declaration
public async Task<IRosterUser> GetRosterUserAsync()
Returns
Type Description
Task<IRosterUser>
View Source

GetUsernameAsync()

Declaration
public async Task<string> GetUsernameAsync()
Returns
Type Description
Task<System.String>

Implements

IUserContext
  • View Source
In This Article
Back to top Generated by DocFX