Click or drag to resize

IAccessManagementGrantGroupAccessToFolder Method

Grants a group access to a folder. Can only be called by an admin or a creator Throws an exception on an invalid folderId or groupId

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
void GrantGroupAccessToFolder(
	AuthenticationInfo auth,
	Guid folderId,
	Guid groupId,
	AccessRole role
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
folderId
Type: SystemGuid
The ID of the folder to grant access to
groupId
Type: SystemGuid
The ID of the group to grant access to
role
Type: Panopto.Server.Services.PublicAPI.V40AccessRole
The role to grant the group access as. Either creator or viewer
See Also