Click or drag to resize

RoleControllerCreateRole Method

Method creates a new resource data object based on the information contained in a roleInfo object.

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 CreateRole(
	RoleInfo roleInfo,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

roleInfo
Type: Omada.OE.Solution.OIM.ModelRoleInfo
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
Returns the id of the new resource.
See Also