Interface IOrgProjectToolScopeAccessService<T>
Interface for determining access to objects with an org/project/tool (/o:{id}/p:{id}/t:{id}) scope.
Inherited Members
Namespace: Microsoft.GNS.Roster.Service
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public interface IOrgProjectToolScopeAccessService<T> : ICreateObjectAccessService<T> where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
|
Methods
View SourceHasScopeAdminAccessAsync(Scope)
Determines if the current user can create objects in the scope provided.
Declaration
Task<bool> HasScopeAdminAccessAsync(Scope scope)
Parameters
| Type | Name | Description |
|---|---|---|
| Scope | scope | The scope to check. |
Returns
| Type | Description |
|---|---|
| Task<bool> | True if the user can create objects. Otherwise, false. |