rcblevins
asked on
How to get current user information in .Net Compact Frameword 3.5
Hello,
I'm developing a mobile device project in VS 2008 using .net compace framework 3.5. The device will be synced with exchange and the user will be able to do certain things with the device. I need to be able to log what changes are being made and who is changing them for auditing purposes. Is there a way to do this? The program will be deployed to either windows mobile 5 or 6.1. I will have the option restrict the mobile platform either way, so I can go either way if that would make a difference. Thanks for any help.
I'm developing a mobile device project in VS 2008 using .net compace framework 3.5. The device will be synced with exchange and the user will be able to do certain things with the device. I need to be able to log what changes are being made and who is changing them for auditing purposes. Is there a way to do this? The program will be deployed to either windows mobile 5 or 6.1. I will have the option restrict the mobile platform either way, so I can go either way if that would make a difference. Thanks for any help.
ASKER
Thanks. Does this work for the compact framework? It will be a few days before I get to start testing the code, so I'll let you know if this works.
Thanks for your help.
Thanks for your help.
Hello
windows mobile devices including CE devices don support any user management, there is no local user. So normally you can only log what a users actions on the server side, when it is using a named account either to access remote shares or exchange or sql (for examples).
To restrict any user actions on a device you can use System Center Mobile Device Manager: http://en.wikipedia.org/wiki/System_Center_Mobile_Device_Manager or other Mobile Device Management solutions by SOTI and others. There are also KIOSK mode launchers and applications to keep the device user from doing unwanted actions (like start games, browse internet etc).
What is the intention of your question? What is the goal?
~josef
windows mobile devices including CE devices don support any user management, there is no local user. So normally you can only log what a users actions on the server side, when it is using a named account either to access remote shares or exchange or sql (for examples).
To restrict any user actions on a device you can use System Center Mobile Device Manager: http://en.wikipedia.org/wiki/System_Center_Mobile_Device_Manager or other Mobile Device Management solutions by SOTI and others. There are also KIOSK mode launchers and applications to keep the device user from doing unwanted actions (like start games, browse internet etc).
What is the intention of your question? What is the goal?
~josef
ASKER
Hello, I'm hoping to be able identify the user using the device. I was hoping that since the device will be synced with exchange, that I could get the exchange user, so I could log who's using the device and what changes are being made to inventory (which is what the device will be used for) using the program I am writing. I hope that clarifyed my question more.
Thanks.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. That's the route I went. I guess I was hoping that there was an easy way to tie back a windows mobile user to a windows user. Thanks for the help.
http://msdn.microsoft.com/en-us/library/sfs49sw0(v=vs.90).aspx#Y300
Try this.