resetPassword()

Purpose

Resets the password of the specified user.

Syntax

resetPassword(string sessionId, string loginName);

Parameters

sessionId

A string containing the session ID obtained at log in.

loginName

Login name for an active Platform user account in the same tenant

Output

None

Permissions Required

Requires administrative privileges. Establish the session by logging in with credentials for an administrative user.