Click or drag to resize

IUserManagementCreateUser Method

Creates a new user. 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#
Guid CreateUser(
	AuthenticationInfo auth,
	User user,
	string initialPassword
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
user
Type: Panopto.Server.Services.PublicAPI.V40User
Information about the user being added. Leave the user's ID empty, it will be set by the server
initialPassword
Type: SystemString
The user's initial password. If null or empty a password will be generated for them

Return Value

Type: Guid
The new user's ID
See Also