Interface IUserContext
Encapsulates user context functionality.
Namespace: Microsoft.GNS.Roster.Internal
Assembly: Microsoft.GNS.Roster.Internal.dll
Syntax
public interface IUserContext
Methods
View SourceGetRosterUserAsync()
Gets an IRosterUser from the current
Declaration
Task<IRosterUser> GetRosterUserAsync()
Returns
Type | Description |
---|---|
Task<IRosterUser> | See IRosterUser |
GetUsernameAsync()
Gets the
Declaration
Task<string> GetUsernameAsync()
Returns
Type | Description |
---|---|
Task<System.String> | The claim |