Click or drag to resize

MiscControllerGetUserIdentityId Method (Int32, SqlConnection, SqlTransaction)

Returns the IdentityId for a user. The identity of the user is found by inspecting the 'Identity' reference property present on the User data object type. If the user doesn't have a referred identity the method returns 0.

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

Parameters

userId
Type: SystemInt32
Id of a user for which the IdentityId should be returned.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
Returns the IdentityId for the user. The identity of the user is found by inspecting the 'Identity' reference property present on the User data object type. If the user doesn't have a referred identity zero is returned.
See Also