asked on September 14, 2015
I'm trying to run the following script example sdk ,
AccountInfo AI = Account.GetInfo("New Group", mySess); AccountReference AR = new AccountReference(AI); List<AccountReference> list = new List<AccountReference>(); list.Add(new AccountReference("New User", mySess)); list.Add(new AccountReference("Admin", mySess)); list.Add(new AccountReference("Sales Group", mySess)); Account.AddMembersToGroup(AR, list, mySess);
and I have the following error:
Unable to cast object of type 'System.Collections.Generic.List`1[Laserfiche.RepositoryAccess.AccountReference]' to type 'System.Collections.Generic.IEnumerable`1[System.String]'.
0
0