Click or drag to resize

UserControllerDeactivateUser Method

Deactivates a user. The Username attribute is postfixed with $YYYYMMDDHHmmss$ for current date. It is used in a DataExchange (import) when MissingObjectAction=Deactivate. The postfix makes usure that new users with the same username can be created without errors.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static void DeactivateUser(
	int userId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

userId
Type: SystemInt32
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction
See Also