if(HasRights(0x0, 0x80))
{
alert("You have rights to delete versions.");
}
A full list of the permissions masks can be found here.
also some other references :
http://atulchhoda.wordpress.com/2009/01/27/corejs-disable-ecb-menu-items-for-oob-application-pages-based-on-permissions-%E2%80%A6mystery-solved%E2%80%A6/
Comments
Post a Comment