Example #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
Example #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
Example #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)
Example #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)