def dumped(self, level):
        output = []
        output.append("user: %s" % self.User)
        output.append("owner: %s" % self.Owner)
        output.append("groups:\n%s" % utils.dumped_list(self.Groups, level))
        output.append("restricted_sids:\n%s" % utils.dumped_list(self.RestrictedSids, level))
        output.append("privileges:\n%s" % utils.dumped_list(sorted(self.Privileges), level))
        output.append("primary_group: %s" % self.PrimaryGroup)
        output.append("source: %s, %s" % self.Source)
        output.append("default_dacl:\n%s" % self.DefaultDacl.dumped(level))
        output.append("type: %s" % self.Type)
        output.append("session_id: %s" % self.SessionId)
        output.append("statistics:\n%s" % utils.dumped_dict(self.Statistics, level))
        return utils.dumped("\n".join(output), level)
dataset/ETHPy150Open tjguk/winsys/winsys/_security/_tokens.py/Token.dumped/original