Hi;

 

Sory   DataareaId -à  EmplId

 

Example code;

 

EmplId MyUser = 'aaaa';

;

If(curuserid() == MyUser )

{

Info("Current user is aaaa");

}

Else

{

Info("Current user is not aaaa");

}

See you

 

 

From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of terminatorhvm
Sent: Thursday, November 27, 2008 7:36 PM
To: development-axapta@yahoogroups.com
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: development-axapta@yahoogroups.com
<mailto:development-axapta%40yahoogroups.com> 
[mailto:development-axapta@yahoogroups.com
<mailto:development-axapta%40yahoogroups.com> ] On Behalf Of M. Nuaman
Sharif
Sent: Wednesday, November 26, 2008 10:39 AM
To: development-axapta@yahoogroups.com
<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]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Reply via email to