Click or drag to resize

MainLibraryAddUsersToUserGroups Method

Adds a number of users from a reference property to some user groups in another reference property, and if removeOldUsers = true then it will remove the existing users first.

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static void AddUsersToUserGroups(
	CodeMethodInvokeContext context,
	int usersRefPropertyId,
	int groupsRefPropertyId,
	bool removeOldUsers
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
usersRefPropertyId
Type: SystemInt32
groupsRefPropertyId
Type: SystemInt32
removeOldUsers
Type: SystemBoolean
See Also