AuthenticationDisable(AuthenticationUserToken, Boolean, Boolean) Method |
Method to disable authentication on the control system.
Namespace: Crestron.SimplSharp.CrestronAuthenticationAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static AuthenticationeAuthenticationEnabledDisabledResponse Disable(
AuthenticationUserToken adminUserToken,
bool disableSSL,
bool clearUserInformation
)
Parameters
- adminUserToken AuthenticationUserToken
- AuthenticationUserToken for a valid administrator account.
- disableSSL Boolean
- 'true' will disable SSL, 'false' will not change the state of SSL.
- clearUserInformation Boolean
- 'true' will remove all users from the system, 'false' current user accounts will remain untouched on the system.
Return Value
AuthenticationeAuthenticationEnabledDisabledResponseResult enumeration to determine if the operation was successful or not.
Exceptions| Exception | Condition |
|---|
| NotSupportedException | This method is currently not supported.
If the API is not supported on this platform. Use DevicePlatform to determine the running platform type. |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also