Click or drag to resize

UserInfoSetLocalUserPassword Method

Sets local user's password.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax
public static void SetLocalUserPassword(
	string userName,
	string password
)
View Source

Parameters

userName  String
User name to change password for.
password  String
New password fro user.
Exceptions
ExceptionCondition
ArgumentNullExceptionuserName or password was null.
ArgumentExceptionNo userName was specified or user does not exist.
InvalidOperationExceptionCould not set password for local user.
See Also