How can I update a user's EnableDisplayInMemberList using Velocity Script API, from within an automation?
How can I update a user's EnableDisplayInMemberList using Velocity Script API, from within an automation?
After further testing, I can confirm that it does NOT work in my automation, when using following code:
#set($userId = $context_v2_automationTrigger.Arguments.UserId)
#set($user = $core_v2_user.Get("%{ Id = $userId }"))
#set($userResponse = $core_v2_user.Update("%{ EnableDisplayInMemberList = 1, Id = $user.Id }"))It's not an int, its a boolean value(true/false).