public function getUserGuidsByRole($roleName)
    {
        if (empty($roleName)) {
            return [];
        }

        return (new Query)->select('[[user_guid]]')
            ->from($this->assignmentTable)
            ->where(['item_name' => $roleName])->column($this->db);
    }
public function getUserGuidsByRole($roleName)
    {
        if (empty($roleName)) {
            return [];
        }

        return (new Query)->select('[[user_guid]]')
            ->from($this->assignmentTable)
            ->where(['item_name' => $roleName])->column($this->db);
    }
public function getUserGuidsByRole ( $ roleName ) { if ( empty ( $ roleName ) ) { return [ ] ; } return ( new Query ) -> select ( '[[user_guid]]' ) -> from ( $ this -> assignmentTable ) -> where ( [ 'item_name' => $ roleName ] ) -> column ( $ this -> db ) ; }
Returns all role assignment information for the specified role.
@param string $roleName
@return Assignment[] the assignments. An empty array will be
returned if role is not assigned to any user.
@since 2.0.7
Returns all role assignment information for the specified role .