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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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