User service#

The User Service is a component at the service layer of the BDK which covers the User part of the REST API documentation. More precisely:

How to use#

The central component for the User Service is the UserService class, it exposes the service APIs endpoints mentioned above.
The service is accessible from theSymphonyBdk object by calling the users() method:

class UsersMain:
    async def run():
        bdk_config = BdkConfigLoader.load_from_file("path/to/config.yaml")
        async with SymphonyBdk(bdk_config) as bdk:
            users_service = bdk.users()
            users = await users_service.list_users_by_ids([123, 456])

if __name__ == "__main__":