You can use it as an array:
userInfos[0].name = ...;
Or as a pointer:
userInfos->name = ...;
Both should work. Also, don't forget to free() your memory.