I have implemented a feature in my solution where by the current user's Name is assigned to a field. With certain users - this appears as 'System Account'. Is it possible that if somebody is the site collection admin., for example, this will happen? I can't work out why.
Asked
Active
Viewed 3,918 times
0
JᴀʏMᴇᴇ
- 1,071
- 2
- 19
- 48
2 Answers
1
CHeck the Central admin and go to Web application and see the user policy from ribbon and see if some account is added as to be run under system account
Geek
- 545
- 1
- 13
- 29
0
Trying using properties.UserLoginName rather than geting the user name from the context objects (as the context is running under elevated credentials).
TZHX
- 1,062
- 7
- 19
RunWithElevatedPrivilegesat all? How are you getting the current user object? – TZHX Dec 05 '12 at 11:03