The spfielduser tag has no wiki summary.
0
votes
0answers
23 views
Why Does a People Field Return a String by Default?
I recently "cleaned up" a chunk of code that was using SPFieldLookupValues like:
SPFieldLookupValue lookup = new SPFieldLookUpValue(listItem["Field"].ToString());
int itemID = lookup.LookupId;
string ...
0
votes
3answers
211 views
Change the value of Author field
I am copying over items from one list to another list.
After copying the "Author" field gets populated with "System Account" and so I wish to update some fields in the destination list as follows.
I ...
0
votes
2answers
152 views
Can find user in peopleeditor but not in web?
I want to assign the value from a peopleeditor control to a user field in C#.
I have a resolved entity in the people editor, but when passing the SPUserId into the SPFieldUserValue constructor along ...
0
votes
1answer
128 views
Custom Field PropertySchema Type=User
I have a custom field in my SP Project. In my .xml file, I have a propertySchema and a user field inside it. Currently the field does not accept multiple users/groups. How can I change that?
I ...
2
votes
1answer
879 views
How to read an User field value for a list item
I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
0
votes
1answer
441 views
Binding User to SPGridview
I have an SPGridview and I made a CAML Query to get the modifier of a document. When I bind it to the SPGridview with a SPBoundfield the value is displayed like this:
1;#HANSEVIS13\sschindler
...
5
votes
2answers
6k views
How do I convert SPUser to SPFieldUser?
I have a field in a list that accepts an SPFieldUser object. I have an SPUser object that I would like to populate that field with, but I cannot implicitly convert from one to the other.
How would I ...
7
votes
1answer
5k views
How to get a SPFieldLookupValue from an SPListItem?
When you get an SPListItemCollection from a SPList.GetItems(SPQuery) request, and the items have SPFieldUser or SPFieldLookup fields, what is the sexy way to get typed values, not the ...
