The GetEffectivePermission method determines whether the caller has the aggregated permissions specified by the Permission ...

The GetEffectivePermission method determines whether the caller has the aggregated permissions specified by the Permission argument not only on the file object, but on the share the file or directory resides on (if it is on a share).