Hi �ffffddbrahim K�fffffdl�fffffd�ffffe7arslan (nice alias),

maybe something like the code below will help you...


static void getGroups4CurrentUser(Args _args)
{
    UserInfo        UserInfo;
    UserGroupList   UserGroupList;
    ;
    while select * from UserInfo
    where               UserInfo.Id == curuserid()
    join                UserGroupList
    where               UserGroupList.userId  == UserInfo.Id
    {
        info(UserGroupList.groupId);
    }
}

Regards
Wolfgang


-----Urspr�ngliche Nachricht-----
Von: �ffffddbrahim K�fffffdl�fffffd�ffffe7arslan
[mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 29. Juni 2004 18:12
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Finding User Group of a user

Hi,

How can i get the user groups of a user whom user id we know.

Thanks in advance...

�brahim

           
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

[Non-text portions of this message have been removed]






Yahoo! Groups Links








Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to