Show/hide Treeview nodes based on users

I am trying to use the treeview navigation skeleton project.
I have a structure that looks something like

T1
T1a
T1b
T1c
T2
T2a
T2b
T3
T3a
T3b
T3c
T3d

I would like T1 (and all its sub-nodes) and/or T2 (and all its…) and/or T3 (and…) to appear based on user logins. How can I achieve that?
thx

For my Treeviews, I bind SQL queries, with the security built in them, which produces the desired nodes for each user.

We do the same thing. Our trees are completely SQL driven.

sql driven for us also.

Hi I want to do something similar. Do you have some example of how can this be done?

Thanks