![]() |
#1 |
Участник
|
palleagermark: Using X++ to figure out which user the AOS runs under
Источник: http://palleagermark.blogspot.com/20...-user-aos.html
============== This code will give you the AOS accounts domain and username: X++: public static void main(Args args) { InteropPermission permission; str userName; str userDomain; ; permission = new InteropPermission(InteropKind::ClrInterop); permission.assert(); userDomain = System.Environment::get_UserDomainName(); userName = System.Environment::get_UserName(); info(strFmt(@"%1\%2", userDomain, userName)); } Источник: http://palleagermark.blogspot.com/20...-user-aos.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|