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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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