?
Solved

How to get current user information in .Net Compact Frameword 3.5

Posted on 2012-08-17
6
Medium Priority
?
785 Views
Last Modified: 2013-12-27
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.
0
Comment
Question by:rcblevins
  • 3
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Rose Babu
ID: 38307820
0
 

Author Comment

by:rcblevins
ID: 38308709
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.
0
 
LVL 16

Expert Comment

by:hjgode
ID: 38308824
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
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:rcblevins
ID: 38308926
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.
0
 
LVL 16

Accepted Solution

by:
hjgode earned 2000 total points
ID: 38309522
So, you are creating an inventory application.

All custom apps I have heard from use a built-in user management and not exchange:

User starts custom app
user provides name and password
custom app starts inventory functions and logs user activity

Doing inventory needs adatabase connection. DB connections can be secured. Database can reside on device (synced before and after changes to host, disconnected solution, GPRS) or is a single host database in network (always connected solution, WiFi).
0
 

Author Comment

by:rcblevins
ID: 38314679
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.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
A short article about problems I had with the new location API and permissions in Marshmallow
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question