+ Start a Discussion

how to get account of current portal users account

I'm looking for a way to limit a custom clone button.  We will be opening up cases so that all partner portal users can see all cases, not just what they own.  When I log in as one partner user, I can see other partner accounts as expected, BUT I can also click our custom Clone button and create a new case for that partner, which should be happen.  Is there a way to limit this in a JavaScript button?  If so, how?