I need to get a list with all user names in my application to display them in a combo box? But i do not find a way to do this.

asked 20.10.2010 at 05:55

Katharina%20Kaczmarczyk's gravatar image

Katharina Ka...
1555
accept rate: 0%


You can do this with ISecurityContext object. Have a look at the code snippet:

import ch.ivyteam.ivy.security.IUser;

List<IUser> users = ivy.request.getApplication().getSecurityContext().getUsers();
for(IUser user : users)
{
    user.getDisplayName();
    user.getFullName();
    user.getName();
}
link

answered 20.10.2010 at 06:25

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.1k6381103
accept rate: 77%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×35
×23

Asked: 20.10.2010 at 05:55

Seen: 1,534 times

Last updated: 20.10.2010 at 05:55