I'm not familiar with EE. I don't have any other ideas without seeing the error messages. Like I mentioned above, if the include call is being done inside a function then that won't work without more "global" staements. It could also be that there is some conflict in naming between vB and EE.
You could connect to the db and read the user table to get the usergroupid, but you'd need the username or userid.
|