Re: knowing wich previleges i have



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





.



Relevant Pages

  • Re: Design question: User objects and a Role object
    ... permissions that I get about the user from a web service. ... turn the xml permissions into ROle objects, but does that mean that my ... <?php echo 'Just another PHP saint'; ...
    (comp.lang.php)
  • Design question: User objects and a Role object
    ... permissions that I get about the user from a web service. ... //get the securityRolesXML and then parse it setting the Role ...
    (comp.lang.php)
  • Re: Access Denied
    ... Determine the account ... is running under and grant it modify permissions on the folder where you ... > local machine but when I use the Web Service to log the error, ... > How can I overcome this security issue on a Web Server so that I can write ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Calling web service from ASP
    ... >I've a requirement to call a web service from an ASP page. ... >service and I thought I can call that component very easily from ASP. ... >have the code to place these permissions dynamically at client place, ... >Some people are saying that using VB.NET as the language, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Security issues with Win2003 and ASPNet app
    ... out how to add a App Pool!) ... how do I then configure permssions on the SQL server ... >> I have an ASP.NET Web Service and Web Site. ... >> don't know how to give it the necessary permissions to access the SQL ...
    (microsoft.public.dotnet.framework.aspnet.security)