Click or drag to resize

MainMaintainUserGroupFromReferenceProperty Method

Method maintains the members of a user group. The members of the group are found by inspecting all the users in the system. Each user must reference another user through a reference property (typically a manager). After execution, the user group will have all the selected users (managers) as members.

The method is designed to run on a timer event.

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 MaintainUserGroupFromReferenceProperty(
	CodeMethodInvokeContext context,
	string propertySysName,
	string groupUIdStr
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
propertySysName
Type: SystemString
Reference property for selecting a single user. Reference property must be present on the user data object type.
groupUIdStr
Type: SystemString
>UId of the user group whos members will be maintained.

Return Value

Type: Boolean
See Also