For users:
SELECT UserName from DBC.UsrAsgdSecConstraintsV
where
ConstraintName='constraint_name'
For profiles:
SELECT ProfileName from DBC.ProfileAsgdSecConstraintsV
where
ConstraintName='constraint_name'
For users:
SELECT UserName from DBC.UsrAsgdSecConstraintsV
where
ConstraintName='constraint_name'
For profiles:
SELECT ProfileName from DBC.ProfileAsgdSecConstraintsV
where
ConstraintName='constraint_name'