Click or drag to resize

AuthenticationActiveDirectoryLogout Method

Active directory logout from system

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool ActiveDirectoryLogout(
	ref AuthenticationUserToken utoken
)

Parameters

utoken  AuthenticationUserToken
User token obtained using "GetAuthenticationToken" method passed as refernce that is needed to logout from active directory server.

Return Value

Boolean
Returns true if user was able to logout successfully from active directory server.

Returns false if user token is invalid or unable to connect to AD or unable to logout from AD.

Exceptions
ExceptionCondition
InvalidOperationExceptionAuthentication is not currently enabled on the controller.
AuthenticationPrivilegeExceptionHigher privileges are required to use this method.
ArgumentExceptionArguments provided to a method is not valid.
SystemExceptionUnable to update token or logout from Active Directory.
NotSupportedExceptionActive Directory Logout 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