how to get the user's group

Hi all,
how can I get the user’s group?
Thanks,
Ale.


Bo_Arale :it: (BOB member since 2007-09-10)

What are you asking? Are you asking how to assign a group to a user? Please elaborate.


substring :us: (BOB member since 2004-01-16)

I have feeling he likes to find out which groups a user belongs to, in that case there is a very nice download available just for such purposes
at


sfaridi :pakistan: (BOB member since 2002-08-29)

Security Viewer is another great tool for that.


substring :us: (BOB member since 2004-01-16)

Thanks Shoaib was what I asking for.
I’ll try to explane you what I need, but for me in english is not simple.

I have a dahboard whit a button that opens a java application.
I have two groups, A and B.
If the user belongs to the group A the button opens the application A, and if the user belongs to the group B the button opens the application B.

I need a subroutine that can say me what is the group the user belong to, so the button can opens the right application.

The code insight the excel file is really what I need, how can I translate this to be useful for me?

Thanks,
Ale.


Bo_Arale :it: (BOB member since 2007-09-10)

If you are writing code to interact with BO, you must be using the SDK.

The examples go through managing users and groups.

I’m sure you can work it out… I think you want to use the interface iUser on the infoview object.


tommy_b :australia: (BOB member since 2007-03-20)