Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: 64bit fixed point timestamp to and from DateTime [modified] Pin
DaveyM6910-Jul-09 4:00
professionalDaveyM6910-Jul-09 4:00 
GeneralRe: 64bit fixed point timestamp to and from DateTime Pin
Luc Pattyn10-Jul-09 7:28
sitebuilderLuc Pattyn10-Jul-09 7:28 
GeneralRe: 64bit fixed point timestamp to and from DateTime [modified] Pin
DaveyM6910-Jul-09 8:48
professionalDaveyM6910-Jul-09 8:48 
QuestionIsolatedStorageFileStream Pin
AAKAra9-Jul-09 10:32
AAKAra9-Jul-09 10:32 
AnswerRe: IsolatedStorageFileStream Pin
Henry Minute9-Jul-09 11:54
Henry Minute9-Jul-09 11:54 
QuestionMail Merged Word document in IE , Need Control and want to update it ..Please help Pin
Sandumone9-Jul-09 10:03
Sandumone9-Jul-09 10:03 
AnswerRe: Mail Merged Word document in IE , Need Control and want to update it ..Please help Pin
Mycroft Holmes9-Jul-09 11:45
professionalMycroft Holmes9-Jul-09 11:45 
QuestionLDAP Question Pin
mypicturefaded9-Jul-09 8:23
mypicturefaded9-Jul-09 8:23 
I need to get the full name and email of a user using nothing more than the 2.0 Framework.
I figured LDAP would be the best way to go, but I cannot get my code to work.
I am not using the syntax correctly. I need to get the information using the logged in user name.
if my username is "mypicturefaded" and my email for the company is mypicturefaded@bbt.gov, how would I get the full name or email address. Is there an easier way of doing this? It needs to be from Active Directory though. I can do it using 3.5 framework, but it needs to be rolled back. Here is the code I have:

<br />
<br />
            string strValue;<br />
            DirectoryEntry ent = new DirectoryEntry("LDAP://CN=mypicturefaded");<br />
            strValue = ent.Properties["displayName"].Value.ToString();<br />
            ent.Close();<br />
<br />
            Messagebox.Show(strValue);<br />
<br />

AnswerRe: LDAP Question Pin
Jeremy Likness9-Jul-09 8:27
professionalJeremy Likness9-Jul-09 8:27 
AnswerRe: LDAP Question Pin
Manas Bhardwaj9-Jul-09 8:29
professionalManas Bhardwaj9-Jul-09 8:29 
GeneralRe: LDAP Question Pin
mypicturefaded9-Jul-09 8:37
mypicturefaded9-Jul-09 8:37 
GeneralRe: LDAP Question Pin
Manas Bhardwaj9-Jul-09 8:41
professionalManas Bhardwaj9-Jul-09 8:41 
GeneralRe: LDAP Question Pin
mypicturefaded9-Jul-09 8:46
mypicturefaded9-Jul-09 8:46 
GeneralRe: LDAP Question Pin
Manas Bhardwaj9-Jul-09 8:49
professionalManas Bhardwaj9-Jul-09 8:49 
GeneralRe: LDAP Question Pin
mypicturefaded9-Jul-09 8:54
mypicturefaded9-Jul-09 8:54 
GeneralRe: LDAP Question Pin
Manas Bhardwaj9-Jul-09 8:57
professionalManas Bhardwaj9-Jul-09 8:57 
QuestionPassing a Method to a second form Pin
bwood20209-Jul-09 7:13
bwood20209-Jul-09 7:13 
AnswerRe: Passing a Method to a second form Pin
harold aptroot9-Jul-09 7:25
harold aptroot9-Jul-09 7:25 
GeneralRe: Passing a Method to a second form Pin
bwood20209-Jul-09 7:28
bwood20209-Jul-09 7:28 
GeneralRe: Passing a Method to a second form Pin
harold aptroot9-Jul-09 7:35
harold aptroot9-Jul-09 7:35 
GeneralRe: Passing a Method to a second form Pin
bwood20209-Jul-09 7:38
bwood20209-Jul-09 7:38 
AnswerRe: Passing a Method to a second form Pin
DaveyM699-Jul-09 7:32
professionalDaveyM699-Jul-09 7:32 
GeneralRe: Passing a Method to a second form Pin
bwood20209-Jul-09 7:47
bwood20209-Jul-09 7:47 
AnswerRe: Passing a Method to a second form Pin
Patrik.karlin9-Jul-09 7:38
Patrik.karlin9-Jul-09 7:38 
GeneralRe: Passing a Method to a second form Pin
DaveyM699-Jul-09 7:46
professionalDaveyM699-Jul-09 7:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.