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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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