Interface ICreateObjectAccessService<T>
Interface for determining create access to objects.
Namespace: Microsoft.GNS.Roster.Service
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public interface ICreateObjectAccessService<T> where T : class
Type Parameters
| Name | Description |
|---|---|
| T | The type to send as a message to possible AccessDeniedException invocations. |
Methods
View SourceVerifyScopeAdminAccessAsync(Scope)
Verifies the current user has access to the scope provided.
Declaration
Task VerifyScopeAdminAccessAsync(Scope scope)
Parameters
| Type | Name | Description |
|---|---|---|
| Scope | scope | The scope to check for access. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the work to verify user access. |
Exceptions
| Type | Condition |
|---|---|
| AccessDeniedException | Thrown if the user does not have access. |