Ejemplo n.º 1
0
 def execute(self, ns, users):
     if users:
         for user in users:
             inst = account.get_user(ns, user)
             yield inst
     else:
         for user in account.list_users(ns):
             yield user
Ejemplo n.º 2
0
 def execute(self, ns, users):
     if users:
         for user in users:
             inst = account.get_user(ns, user)
             yield inst
     else:
         for user in account.list_users(ns):
             yield user
Ejemplo n.º 3
0
 def execute(self, ns):
     for s in sorted(account.list_users(ns),
                     key=lambda i: i.Name):
         yield (s.Name, s.UserID, s.ElementName)
Ejemplo n.º 4
0
 def execute(self, ns):
     for s in sorted(account.list_users(ns), key=lambda i: i.Name):
         yield (s.Name, s.UserID, s.ElementName)