VIP Get All Users Rest API
search cancel

VIP Get All Users Rest API

book

Article ID: 207979

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

How to fetch all users and user status from VIP Manager. (No credentials)

Resolution

 

  • Send a REST GET request to https://userservices-auth.vip.symantec.com/vipuserservices/webapi/v1/UserAPI/do/listAll?requestId=<insertRequestId>
  • Requires a VIP cert (.P12 or .PEM) from the JH where the users exist.
  • Results are returned in JSON.
  • Limited numbers of users fetched with a single GET call (max. 1000).
  • Fetch the next batch by calling the nextURL key within the previous JSON results (example: "nextUrl": "https://userservices-auth.vip.symantec.com/vipuserservices/webapi/v1/UserAPI/do/listAll?requestId=RestTest&scrollKey=KM9KO0AB6KND809&limit=1000")
  • The ‘limit’ can be adjusted down.
  • Example: VIP account has 1,133,369 users. If each GET call average=49ms, required calls=1,134, total time=558 seconds.
  • Response Fields:
    • “_id” is internal data, this should be ignored.
    • “userId” is the VIP user name
    • “userStatus” is the user’s status
    • “creationTime” is the Epoch time when the user was created
    • “lastAuthenticationTime” is time when the user last authenticated. Returns “0” if user has never authenticated