| OrgUnitControllerGetUserGroupsReferredByOrgunit Method |
Returns the ids of the users and groups reffered by the reference property from an org. unit.
user or user group are either users or (non-personal) groups (or a combination).
If the org. unit doesn't have a (directly assigned) user or user group, the methods crawls upwards through the org. unit structure until it finds one.
If the method finds a user or user group which is a personal user group it converts it to a user.
Namespace:
Omada.OE.Solution.OIM.AppLogic
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static IntegerList GetUserGroupsReferredByOrgunit(
int orgUnitId,
int refPropertyId,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- orgUnitId
- Type: SystemInt32
Id of the org. unit.
- refPropertyId
- Type: SystemInt32
refence proeprty id that refers to a user or user group on the orgunit
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
IntegerList
Can return an empty collection if no manager is found.
See Also