/// <summary> /// Gets the groups a user is assigned to within a space. /// </summary> /// <param name="spaceID">The id of the space to use.</param> /// <param name="userName">The name of the user to use.</param> /// <param name="internalGroups">Whether also internal or just external groups are returned.</param> /// <returns></returns> public string[] GetUserGroupAssignments(string spaceID, string userName, bool internalGroups) { return(_webService.listUserGroupMembership(LoginToken, spaceID, userName, internalGroups)); }