I have an Excel macro in order to assign usergroup (Developer, QATester, etc...) to a user for different projects. It works perfectly, but not for the group "TDAdmin". The macro runs ok (no error is shown), but when I check in project customization the group TDAdmin has not been added.
The code I'm using is (before this code I have connected to the proper project):
Public Sub AssignUserGroup(tdc As TDConnection, com As TDAPIOLELib.Command, User As String, Group As String)
Dim Cust As Customization
Set Cust = tdc.Customization
Set Custusers = Cust.Users
'The user is already created and linked to project, I just assign the UserGroup passed
Set CustUsersGroups = Cust.UsersGroups
Set CustGroup = CustUsersGroups.Group(Group)
Do you know why it's not working with TDAdmin group? Do you know any other way to that? I have more than 100 projects and I need to assign a new user as Project Administrator.
Many thanks in advance.