No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Basically I am writing code that is taking input from the user and then writing it to a sharepoint list. The problem is credentials of the server are obtained NOT the end user, to do this I need to impersonate the end user and then give the proper credentials to … |
|
The bit of code below is giving me the error: Cannot read from a closed TextReader. [CODE]public static int maxUsers(int logMinute) { StreamReader maxNum = new StreamReader(@"C:\Users\jplishka\Desktop\LoginSorted.csv"); string sortedstrline = ""; string sortedUser = null; string sortedComputer = null; string sortedDate = null; string sortedInTimeSec = null; string sortedOutTimeSec = … |