AnsweredAssumed Answered

Add account step fails in v14

Question asked by on Jun 8, 2015
Latest reply on Jun 8, 2015 by


Add account step fails in v14


This script has worked well in v12 and v13 and now fails in v14. 

Set Variable($AccountName;Value:GetScriptParameter(1)

Set Variable($Password;Value:GetScriptParameter(2)

Set Variable($Access;Value:GetScriptParameter(3)

If $Access = "Full"

  Add Account(Account Name: $AccountName;Password:$Password;Privilege Set:All

Else IF $Access = "Read Only"

Add Account(Account Name:$AccountName;Password:$Password;Privlege Set: Read-Only Access

End If

Some brackets and characters have been left out for the ease of typing.

The failure is on only about half of the 10 files it is used in. It occurs in the add account step saying the item must have an entry of no more than 100 characters.  Using the data viewer all of the text is there.  I don't understand how it would work for a few years and two releases and fail in v14 especially when the data viewer shows the text is there.