How to get a latest version of User Accounts list

Hi everyone!

I found a little issue with a user list retreiving via VBScript code:

Set pUserAccounts = Vault.UserOperations.GetUserAccounts()

It does not show me users that were created during the time this script works. But the next time I run this script they are available. I suppose the "Vault" object contains, lets say, a "snapshot" of vault structure and newly added elements are unavailable there.

So I see a two possible way:

1) I have to use functions that have an ability to update data from server (for example, GetLatestObjVer has a parameter "updateFromServer")

2) I have to update a Vault object and get an actual information from there.

But I dont know how to do both of these points)
Could you advice me something?

Parents
  • probably I have to explain)

    When I told "It does not show me users that were created during the time this script works. " I meant users being created by somebody else (by another script, by VAF app, by user manually), but not by this script. So inside of script I can see only users being created before this script was started and users being created by this script, but I need to see the most actual version of users list, even that were created after this script was started.

Reply
  • probably I have to explain)

    When I told "It does not show me users that were created during the time this script works. " I meant users being created by somebody else (by another script, by VAF app, by user manually), but not by this script. So inside of script I can see only users being created before this script was started and users being created by this script, but I need to see the most actual version of users list, even that were created after this script was started.

Children
No Data