Click or drag to resize

MainLibraryCreateUserFromTemplate Method

Method creates a new user. The properties of the specified template object will be copied from the action object to the new user, based on the settings of the specified copy rule. A property id must be provided containing the username on the action object

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static bool CreateUserFromTemplate(
	CodeMethodInvokeContext context,
	int copyRuleId,
	int userNamePropertyId
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
copyRuleId
Type: SystemInt32
userNamePropertyId
Type: SystemInt32

Return Value

Type: Boolean
See Also