AuthenticationEnable Method |
Method to enable authentication on the control system.
Namespace: Crestron.SimplSharp.CrestronAuthenticationAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static AuthenticationeAuthenticationEnabledDisabledResponse Enable(
string adminUserName,
string adminPassword
)
Parameters
- adminUserName String
- User name of either an existing administrator or, if none exist, the user name of the default account.
- adminPassword String
- Password of the existing account specified by the 'adminUserName' parameter, or the password of the default account.
Return Value
AuthenticationeAuthenticationEnabledDisabledResponseResult enumeration to determine if the operation was successful or not.
Exceptions
RemarksIf SSL is not enabled, it will be after calling this method.
A reboot maybe required to complete this operation.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also