Click or drag to resize

MainAddUserToUserGroups Method

Makes a user a member of several user groups.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool AddUserToUserGroups(
	CodeMethodInvokeContext context,
	string usersRefPropertySysName,
	string groupsRefPropertySysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
usersRefPropertySysName
Type: SystemString
The system name for a single-value reference property for choosing a user. The property must be found on the action object.
groupsRefPropertySysName
Type: SystemString
The system name for a multi-value reference property for choosing a user group. The property must be found on the action object.

Return Value

Type: Boolean
See Also