i have column "RequestorName" which is of type USER in sharepoint list.i need to set SHOW FIELD property in sharepoint list advanced column settings, programatically as "ACCOUNT".(By default its "Name(with
presence)")
I am able to modify that manually using list setting in sharepoint,but i need to set that showfield property as "Account" through code.
this is the code i am using to create List.
SPList lstTest = web.Lists["test"];
lstTest.Fields.Add("Name", SPFieldType.User, false);
lstTest.Update();
i dont know how to set "showfield property" in advanced column settings of 'User' field property through code
Any pointer will be helpful.
Thanks in advance