get user list in sharepoint using C#

W

WW

Hi,

I hv a question about retrieving user list in sharepoint`
i'm using C# to get the list of users
however, i found that It cannot get the full list under top level site
for example:
i hv "SiteA", under "SiteA" has many difference webparts, let's say
"webPartB",
actually, "SiteA" has 2 difference users, "user1"(administrator) and
"user2"(reader)
in "webPartB" has "user3"(Contributor) and "user4"(Reader)
I wrote a C# program using "SPSite" to get each user's premission right
..
however, the outcome is
SiteA
user1 - administrator
user2 - reader
user3 - guest
user4 - guest

webPartB
user1 - administrator
user2 - reader
user3 - guest
user4 - guest

It cannot show me the user3 and user4's premission right, only to show
it is "guest"
how can i get the full premission right in my case?
Thanks a lot!!!!
 
S

S.Y.M. Wong-A-Ton

Try reposting your question in one of the SharePoint newsgroups. People there
might be able to help you better than we could. Thanks.
 
W

WW

ok, sorry, post wrong section`


Try reposting your question in one of the SharePoint newsgroups. People there
might be able to help you better than we could. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top