Is it possible to use this piece of code to hide the link "Explorer view" in
every document library for users who are not administrators?

if
SPControl.GetContextWeb(Context).Permissions.DoesUserHavePermissions((SPRigh
ts)SPPermissionGroup.Administrator)== true)
{
}
else
{
}

Thanks

Re: How to hide "Explorer view" for users with non-administrative rights by Cornelius

Cornelius
Tue Mar 28 18:14:39 CST 2006

One of the guys in the .development subgroup might be able to answer
this.

Thanks
C
http://spaces.msn.com/cjvandyk



"Ray Kammali" <ray@cic.com> wrote in message news:ray@cic.com:

> Is it possible to use this piece of code to hide the link "Explorer view" in
> every document library for users who are not administrators?
>
> if
> SPControl.GetContextWeb(Context).Permissions.DoesUserHavePermissions((SPRigh
> ts)SPPermissionGroup.Administrator)== true)
> {
> }
> else
> {
> }
>
> Thanks