end
- def describe_account(account)
- if self.user_exists(account)
- return "Username: #{account}"
+ def describe_user(user)
+ if self.user_exists(user)
+ return "Username: #{user}"
else
return 'User not found'
end
end
- protected;
-
-
def list_users()
+ #
+ # Produce a list of AgenDAV users. This is public because it's
+ # useful in testing.
+ #
usernames = []
# Just assume PostgreSQL for now.