Skip to main content

Table

roles

Each row represents a permission template and password policy for a user type.

statusgroupRedshift
All tables

roles

Each row represents a permission template and password policy for a user type.

Full schema

View all columns and table relationships (SchemaSpy)

Status group

Yes, this table includes a statusgroup column. See Status Group for details.

Column details

ColumnTypeNullable
companyidvarchar(36)Yes
hasaccesstoallcoursesboolYes
hasmanagerinterfaceaccessboolYes
idvarchar(36)Yes
keynamevarchar(65535)Yes
kindvarchar(65535)Yes
namevarchar(65535)Yes
passwordlengthint4Yes
passwordnumbersint4Yes
passwordsymbolsint4Yes
passworduppercasesint4Yes
permissionsvarchar(65535)Yes
resetpasswordcountint4Yes
resetpasswordunitvarchar(65535)Yes
timeoutcountint4Yes
timeoutunitvarchar(65535)Yes
weightint4Yes
createdattimestampYes
updatedattimestampYes
statusgroupvarchar(256)Yes
statusgroupupdatedattimestampYes

Column names and types come from the Redshift analytics schema. SchemaSpy is authoritative for nullability, defaults, keys, and relationships.

Sample query

select
  t.hasaccesstoallcourses,
  t.hasmanagerinterfaceaccess,
  t.keyname,
  t.kind,
  t.name
from roles as t
limit 100