Click or drag to resize

IAccessManagementGrantUsersViewerAccessToSession Method

Grants users viewer access to a session. Can only be called by an admin or a creator Throws an exception on an invalid sessionId or on any invalid userIds

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
void GrantUsersViewerAccessToSession(
	AuthenticationInfo auth,
	Guid sessionId,
	IEnumerable<Guid> userIds
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
sessionId
Type: SystemGuid
The ID of the session to grant access to
userIds
Type: System.Collections.GenericIEnumerableGuid
The IDs of the users to grant access to
See Also