--- title: "Service Users" slug: "oas-fullsdk-pgjava-service-users-3-28" updated: 2025-07-04T10:05:18Z published: 2025-07-07T15:34:07Z canonical: "docs.onespan.com/oas-fullsdk-pgjava-service-users-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Service Users When using a service user to execute administration commands, it is not necessary to perform an explicit login operation to acquire a session identifier (sessionID). Furthermore, it is not necessary to keep the session identifier persistent at all. Instead, the service user’s credentials need to be put into the session identifier (sessionID) for each command. This can be achieved by creating an instance of AdministrationSessionStorage and configure it by calling createAndStoreSession() with the service user’s credentials as sessionID. This AdministrationSessionStorage instance can then be directly used to initialize the various handler helper classes. > ```java > AdministrationSessionStorage sessionStorage = new AdministrationSessionStorage(); > > sessionStorage.createAndStoreSession("Apikey serviceUserId:1234567890abcdef", "{soapURL}"); > > UserHandler userHandler = new UserHandler(sessionStorage); > > userHandler.create(…); > ```