Vault API Question
Moderator: SourceGear
Vault API Question
I'm retrieving a list of users with the GetUserList function, but every user in the list is shown as having an isActive value of false and a Status of 0. Is there a reason for this? I want to see if the users are currently Active or Inactive, but this doesn't seem to be working for me.
Actually, I got it working using Connection.ListUsers. The Connection.GetUserList is what I was using before, and that returned a list, but the isActive was always false and the Status was always 0.
The one thing I noticed about the Connection.ListUsers is that it only works if you're logged in as an Admin. If you log in as a Client, the ListUsers errors out with an "object reference not set to an instance of an object" error.
So, I have it working now, it just took a little experimenting. But hey, that's what makes it fun.
The one thing I noticed about the Connection.ListUsers is that it only works if you're logged in as an Admin. If you log in as a Client, the ListUsers errors out with an "object reference not set to an instance of an object" error.
So, I have it working now, it just took a little experimenting. But hey, that's what makes it fun.