Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SECURITY in sharepoint using the SDK

  Asked By: Faith Scott         Date: Jan 21, 2010      Category: Sharepoint      Views: 443
 

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.

Tagged:            

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on SECURITY in sharepoint using the SDK Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].