Hi all,
I have created a website using crystal report. When i logged in with user from LDAP, i want to set the username for the special field Current CE User Name in crystal report. How can i do this? any responses will be very appreciated!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hoang AnPosted Jul 20, 2011, 9:33 PM
venkii RPosted Jul 20, 2011, 9:01 AM
Dim win As System.Security.Principal.WindowsIdentity win = System.Security.Principal.WindowsIdentity.GetCurrent() LoggedInUserName = win.Name.Substring(win.Name.IndexOf("\") + 1)
there are some features in crystal report where u can place special fields etc..by that u can take textbox or label and show LoggedInUSerName on that.
i hope u got an idea...it may use ful to u.....
Thanks