Permissions on hyperlinks

T

The Wombat

I've built a netowrk diagram w/ the ability to telnet to various devices by
using the hyperlink I've added to a shape. My problem is that while I want
everyone in the group to be able to view hte diagram I don't want everyone in
the group able to telnet. I know they can't get in w/o the password, but I
really don't want them able to do it in the first place.

Any ideas? I should also mention that I will be putting this on Sharepoint.
I don't know if that will help or hinder the problem.

Thanks in advance.
The Wombat
 
C

Chris [Visio MVP]

Could you link to your own app first that checks permissions, then routes
creds to the Telnet app?

Or you could use a bit of VBA code in the drawing itself to set some Page or
Document user-cell that you create. Something like User.Allowed. If this is
false, then you could hide all of the hyperlinks via ShapeSheet logic.
Something like:

Link.Address = If(TheDoc!User.Allowed, "Telnet/blah/blah", "")
 
T

The Wombat

Chris,

Thanks very much. Sounds like code in the drawing would be a good way to go
as it stays with the drawing itself.

I don't know diddle about VBA (old Assembly & C programmer who hasn't coded
in years) but I suppose I could learn it. Would you be able to point out
some resources where I can look up sample code for Visio?

Thanks again,
The Wombat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top