We are currently implementing Sharepoint with a web site
and need to know if you can:
1/ add a user to the workspace from NT accounts, and,
2/ set that user up with a given user-role (e.g. coodinator)
using the sharepoint object model (i.e. code!) as if using the security
tab in the management console.
So far, we can access a folder - say documents - and get a list of users
that
are either coordinators, authors, readers, but we need to get hold of
thier default user-role for the workspace, rather than permissions for a
particular
folders. I would also like to know if we can run such code from the
client machine - so that the client activates code on the server that
can read in an NT user and then access their security role (i.e. are
they reader, coordinator, author).
Do you know someone who can help? Share a link to this thread on twitter, or facebook.