Click or drag to resize

AuthenticationEnable Method

Method to enable authentication on the control system.

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public 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

AuthenticationeAuthenticationEnabledDisabledResponse
Result enumeration to determine if the operation was successful or not.
Exceptions
ExceptionCondition
NotSupportedExceptionThis method is currently not supported.
Remarks
If 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