Click or drag to resize

ISessionManagementSetExternalCourseAccess Method

Creates two external groups (viewers and creators) if necessary and grants them permission to the specified folders. ProvisionExternalCourse does not necessarily need to have been called before calling this. Auth works differently for this method than others. It can be called by external providers on behalf of users who would not otherwise have the privledge to create a folder, groups, and set ACLs This is necessary because the external user may not have been added to panopto yet. The external provider should use its own security to determine who it will allow to call this method

Namespace:  Panopto.Server.Services.PublicAPI.V46.Soap
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
IEnumerable<Folder> SetExternalCourseAccess(
	AuthenticationInfo auth,
	string name,
	string externalId,
	IEnumerable<Guid> folderIds
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
name
Type: SystemString
The name of the external course
externalId
Type: SystemString
The external ID of the external course. The externalId can be up to 255 characters.
folderIds
Type: System.Collections.GenericIEnumerableGuid
The list of folders to grant the groups access to. If any of the folders no longer exist they will be skipped.

Return Value

Type: IEnumerableFolder
The list of folders associated with this course
See Also