Print Page | Close Window

setting groups when autoregistering using API

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25099
Printed Date: 04 April 2026 at 5:14am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: setting groups when autoregistering using API
Posted By: aaronsm
Subject: setting groups when autoregistering using API
Date Posted: 04 January 2008 at 4:13pm

Using the member API...

When auto registering our users on the forum using our existing user database, is it possible to assign roles/groups to users based on our own membership levels.
 
so that based on their current membership levels they will automatically receive  (or be denied) the necessary permissions to create categories, topics etc etc
 
Is there another session variable that can be used for this?
 
cheers
 
Mike



Replies:
Posted By: WebWiz-Bruce
Date Posted: 04 January 2008 at 4:19pm
It adds new users to the starting group.

The only other way to do this is edit the code in the functions_member_API.asp page to place in some code which can place them into different user groups.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aaronsm
Date Posted: 04 January 2008 at 4:25pm

I am happy doing that.  Just looking through that page, I am guessing that I would need to replace the intForumStartingGroup variable used in the INSERT statement?



Posted By: WebWiz-Bruce
Date Posted: 04 January 2008 at 4:34pm
Yes, what you would need to do is find the Group_ID from the database for each of your groups.

The depending on which group you want the member to be in you would place that Group_ID into the intForumStartingGroup variable.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net