Accessing Site Content Owner

Coordinator
Jun 5, 2011 at 5:25 AM
Edited Jun 5, 2011 at 5:26 AM
 
Hello,

Does anyone know the Field Internal Name for the user (or user group) who is the Site Content Owner? We would like to add a short statement to our global footer that says "Questions about this site? Contact {user or group name}", with a link to that user/group's profile page or email address.

Thanks, Eddie
Coordinator
Jun 5, 2011 at 5:28 AM

Eddie:

GetCurrentUser doesn't have anything to help you here. The "Site Content Owner" would be a property of the Web (site), so GetWeb is your best bet.

However, the idea of "Site Content Owner" is always a tricky one. Which role do you mean? The person who gets emails when someone wants to access the site? The person who created the site? etc. Just debating this usually turns out to be far harder than the technical answer.

M.