Description: When you create users with database-level properties, those users are available to the specified database only.

# Database-level properties

When you create users with database-level properties, those users are available to the specified database only.

You set the property once for each user. To delete a user, set that user's password to null.

    -- adding the user sa with password 'derbypass'
    CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
        'derby.user.sa', 'derbypass')
    -- adding the user mary with password 'little7xylamb'
    CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
        'derby.user.mary', 'little7xylamb')
    -- removing mary by setting password to null
    CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
        'derby.user.mary', null)

Parent topic: Built-in Derby users
Related concepts
System-level properties