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.181-beta
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