AuthenticationUpdatePassword(AuthenticationUserToken, String, String, String) Method |
Method to update the password for a specified local user.
Namespace: Crestron.SimplSharp.CrestronAuthenticationAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool UpdatePassword(
ref AuthenticationUserToken utoken,
string username,
string password,
string oldPassword
)
Parameters
- utoken AuthenticationUserToken
- User token obtained using GetAuthenticationToken passed in as reference so that the access level gets updated dynamically
- username String
- Name of the local user to update the password.
- password String
- New password for the user
- oldPassword String
- Current password of the user.
Return Value
Boolean true if succeeded or false otherwise
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also