| UserControllerGetUserIdByUserName Method (String, SqlConnection, SqlTransaction) |
Returns the id of a user based on his username.
The username is caseINsensitive.
If the username doesn't exists zero is returned.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static int GetUserIdByUserName(
string userName,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- userName
- Type: SystemString
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
Int32
See Also