Hi;
Example code;
dataareaID MyUser = 'aaaa';
;
If(curuserid() == MyUser )
{
Info("Current user is aaaa");
}
Else
{
Info("Current user is not aaaa");
}
See you
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of terminatorhvm
Sent: Thursday, November 27, 2008 7:36 PM
To: [email protected]
Subject: RE: [development-axapta] How to use User ID
Hello
If you mean how to use the user id of the current user then use curuserid()
function. If let's say your user id is "aaaa" you can test this:
If(curuserid() == "aaaa")
{
Info("Current user is aaaa");
}
Else
{
Info("Current user is not aaaa");
}
From: [email protected]
<mailto:development-axapta%40yahoogroups.com>
[mailto:[email protected]
<mailto:development-axapta%40yahoogroups.com> ] On Behalf Of M. Nuaman
Sharif
Sent: Wednesday, November 26, 2008 10:39 AM
To: [email protected]
<mailto:development-axapta%40yahoogroups.com>
Subject: [development-axapta] How to use User ID
Hi All
Please tell me how to use User ID in x++ code.
Thanks
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]