Hi; Example code;
dataareaID 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]