Get current user login

N

nbctcp

Hi
I have a form created in Infopath 2007. The form has Employee and Department
field.
I can get Employee name (but not full name yet) and Department field
automatically filled by following this link
http://blogs.microsoft.co.il/blogs/...et-the-current-user-without-writing-code.aspx

The form has three views, employee-admin-management view.
When employee submit a form, it will automatically goes to admin for checking
I already creating a rule that will switch view if Department is Admin or
Management.
My problem now is if Employee submit a form, let say System Department (non
Admin or Management Department). Admin people will receive it. Infopath will
see the form as System Department, so it won't switch the view to Admin view,
eventhough who currently open it is Admin people.

How to set a Department text field so it will automatically filled with who
currently login without coding like this link
http://blogs.microsoft.co.il/blogs/...et-the-current-user-without-writing-code.aspx

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top