BuildMaster SDK Reference
Version:

SetPassword(string userName, string password) Method

Sets the password for the specified user.

Syntax

public static void SetPassword(string userName, string password)

Parameters

userName
Type: string

The name of the user.

password
Type: string

The user's new password.

Exceptions

System.ArgumentNullException

userName is null (Nothing in Visual Basic) or empty.