Hi there
im trying to build a page for my companys intranet. The general idea of the page is that we replace the logon page to the intranet options with a page that reads your windows logon details.
Anyway we have Many different parts to the options page and we only want certain users to be able to access certain parts. To do this we want to create a seperate user group for each button in the options menu, and only make the user a member of the groups we want them to be able to access.
At the moment i cannot work how to get user groups for a username. I can get the username fine, but getting what windows groups it is a member of i cannot work out how to do.
How does the data come out of this statement, does it come out as a string that needs to somehow divided to get the individual groups, or do you feed in group names and the statement tells you whether the user is a member.
im trying to build a page for my companys intranet. The general idea of the page is that we replace the logon page to the intranet options with a page that reads your windows logon details.
Anyway we have Many different parts to the options page and we only want certain users to be able to access certain parts. To do this we want to create a seperate user group for each button in the options menu, and only make the user a member of the groups we want them to be able to access.
At the moment i cannot work how to get user groups for a username. I can get the username fine, but getting what windows groups it is a member of i cannot work out how to do.
How does the data come out of this statement, does it come out as a string that needs to somehow divided to get the individual groups, or do you feed in group names and the statement tells you whether the user is a member.