## 1.2.5 Administering The Auth Environment

In order to access application and user information you need to create a `AuthManager` object. This can be done as follows:

    driver = web.auth.driver('database', environment='testEnv', cursor=cursor)
    authManager = web.auth.manager(driver=driver)

Once the object is created you can use its methods to add new users and applications.

Note: As well as creating an applicaiton and a user you must link the two by using the `setAccessLevel()` method so that the user has access to the application.