How to change author name to current logged in user name

How to change author name to current logged in user name

Post by cmFtYmxlcm » Sat, 30 Aug 2008 02:22:10


How can I set Office 2007 to use the current logged in user's name for the
author name on the file. The computers that this is on could see up to 10
users a day, and they want to have the authored by identification separate
for each user.

Thanks in advance.
 
 
 

1. Changed User name, but User folder name didnt get changed?

2. HttpContext.Current.User.Identity.Name returns wrong user name

We have an active directory user that just had her username renamed.
When the user is running an application that calls our CurrentUser web
service method (which returns the value of
HttpContext.Current.User.Identity.Name), her old username is returned.
DOMAIN\oldusername instead of DOMAIN\newusername. The user is logged in with
this new username and when we make a windows client .NET call to
System.Security.Principal.WindowsIdentity.GetCurrent.Name it returns the
correct username "DOMAIN\newusername".

This has stumped the developers and our network admins. Can anyone point us
in the right direction or do we have to call Microsoft? It has not resolved
itself in 4 days now.

Hopefully someone will be so kind to share some information if they have it.

<WebMethod()> _
Public Function CurrentUser() As String
'Returns current user identity
Return HttpContext.Current.User.Identity.Name
End Function

3. HttpContext.Current.User.Identity.Name AND Context.User.Identity.Name;

4. Dont Display Last User Name or Current Workstation User name

5. how to get current user or recently logged on user name?

6. the user name you typed is the same as the user name you logged in with

7. Changing a list from last name, first name to first name, last name

8. question about user names (User Principal Name & Sam Account Name)

9. Change from Windows User name and Password to MS project server user name and pa

10. change first name last name to last name first name

11. AD user name changed, IIS still sees old user name

12. Changing Name of Computer w/o Changing Administrator User Name

13. Changing personal folder name after changing user name

14. Changing Name of Computer w/o Changing Administrator User Name