Click or drag to resize

IUserManagementUpdatePassword Method

Updates the password of a user. Can be called by an admin about anyone or by a user about themself. If called by an admin the user will be sent an email with his new password

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
void UpdatePassword(
	AuthenticationInfo auth,
	Guid userId,
	string newPassword
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
userId
Type: SystemGuid
The ID of the user to update. Exception if invalid
newPassword
Type: SystemString
The user's new password.
See Also