public function getUserEffectivePermissions($loginName)
    {
        $permissions = new BasePermissions();
        $qry = new InvokeMethodQuery(
            $this->getResourcePath(),
            "GetUserEffectivePermissions",
            array(rawurlencode($loginName))
        );
        $this->getContext()->addQuery($qry,$permissions);
        return $permissions;
    }
public function getUserEffectivePermissions($loginName)
    {
        $permissions = new BasePermissions();
        $qry = new InvokeMethodQuery(
            $this->getResourcePath(),
            "GetUserEffectivePermissions",
            array(rawurlencode($loginName))
        );
        $this->getContext()->addQuery($qry,$permissions);
        return $permissions;
    }
public function getUserEffectivePermissions ( $ loginName ) { $ permissions = new BasePermissions ( ) ; $ qry = new InvokeMethodQuery ( $ this -> getResourcePath ( ) , "GetUserEffectivePermissions" , array ( rawurlencode ( $ loginName ) ) ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ permissions ) ; return $ permissions ; }
Gets the set of permissions for the specified user
@param string $loginName
@return BasePermissions
Gets the set of permissions for the specified user