Re: knowing wich previleges i have
- From: "Christof Nordiek" <cn@xxxxxxxxx>
- Date: Tue, 10 Oct 2006 11:13:07 +0200
Hi Eugene,
thanks for the response. Alas, the GetWeb method doesn't work for my problem
because it doesn't return user and role information, if it is not accessed
with high previleges.
"Eugene Rosenfeld" <erosen03@xxxxxxxxxxx> schrieb im Newsbeitrag
news:Ogh7svZ6GHA.3384@xxxxxxxxxxxxxxxxxxxxxxx
Yes, you're correct. You can also try getting the permissions from the web
by invoking the GetWeb web method on the Site Data web service. One of the
output parameters has an XML string with the roles for the current web, or
a url reference to a parent web, if the current web is using permissions
inheritance. To get the perms for the list, try the GetList method on the
SiteData service. The _sListMetadata output parameter has a Permissions
property.
--
-Eugene Rosenfeld
"Christof Nordiek" <cn@xxxxxxxxx> wrote in message
news:OLzt#PR6GHA.3508@xxxxxxxxxxxxxxxxxxxxxxx
GetPermissionCollection seems only to work with administrator privileges.
I want to know the restrictions for my own user account, without having
to log in as administrator.
"Eugene Rosenfeld" <erosen03@xxxxxxxxxxx> schrieb im Newsbeitrag
news:583434D1-E103-4100-B44B-8D098B6B2C3A@xxxxxxxxxxxxxxxx
There sure is. I had a similar requirement for a client. Take a look at
the permissions web service. Specifically, take a look at the
GetPermissionCollection web method.
-Eugene Rosenfeld
"Christof Nordiek" <cn@xxxxxxxxx> wrote in message
news:OFjZyG75GHA.4484@xxxxxxxxxxxxxxxxxxxxxxx
I'm writing an application wich uses FrontPage RPC to upload documents
to SharePoint. If the user doesn't have permissions to wirte i get an
answer with error code. But how can I detect, if the restriction is on
the library the folder or the docuement?
Is there a way i can detect the permissions (maybe with the WSS
webservices)?
thanks
.
- Follow-Ups:
- Re: knowing wich previleges i have
- From: Eugene Rosenfeld
- Re: knowing wich previleges i have
- References:
- knowing wich previleges i have
- From: Christof Nordiek
- Re: knowing wich previleges i have
- From: Eugene Rosenfeld
- Re: knowing wich previleges i have
- From: Christof Nordiek
- Re: knowing wich previleges i have
- From: Eugene Rosenfeld
- knowing wich previleges i have
- Prev by Date: Development using object model in sharepoint 2007
- Next by Date: Databind DataGrid
- Previous by thread: Re: knowing wich previleges i have
- Next by thread: Re: knowing wich previleges i have
- Index(es):
Relevant Pages
|