Click or drag to resize

IUserManagementCreateUsers Method

Creates one or more new users. Can only be called by an administrator

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
IEnumerable<User> CreateUsers(
	AuthenticationInfo auth,
	IEnumerable<User> users
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
users
Type: System.Collections.GenericIEnumerableUser
The list of users to be added. Leave the users' ID empty, they will be set by the server

Return Value

Type: IEnumerableUser
The added users including their server-generated Ids
See Also