Version:

show_securityΒΆ

GPUdb.show_security( names = None, options = None )

Shows security information relating to users and/or roles. If the caller is not a system administrator, only information relating to the caller and their roles is returned.

Input Parameter Description

Name Type Description
names list of str A list of names of users and/or roles about which security information is requested. If none are provided, information about all users and roles will be returned.
options dict of str Optional parameters.

Output Parameter Description

Name Type Description
types dict of str

Map of user/role name to the type of that user/role.

Allowed Values Description
internal_user A user whose credentials are managed by the database system.
external_user A user whose credentials are managed by an external LDAP.
role A role.
roles dict of lists of str Map of user/role name to a list of names of roles of which that user/role is a member.
permissions dict of lists of dicts of str Map of user/role name to a list of permissions directly granted to that user/role.