Show / Hide Table of Contents

Interface IContainerSecurityContext

Functionality for working with Roster security.

Namespace: Microsoft.XboxStudios.SQTech.Roster.Client
Assembly: Microsoft.XboxStudios.SQTech.Roster.Client.Common.dll
Syntax
public interface IContainerSecurityContext

Methods

View Source

UserHasContainerPermissionsAsync(String, PermissionFlags, CancellationToken)

Checks if a user has the specified permissions on a container.

Declaration
Task<bool> UserHasContainerPermissionsAsync(string containerName, PermissionFlags requiredPermissions, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.String containerName

The container name.

PermissionFlags requiredPermissions

The permissions flags to check.

CancellationToken cancellationToken

A cancellation token.

Returns
Type Description
Task<System.Boolean>

True if the user has the permissions flags for the specified container. Otherwise, false.

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