473,396 Members | 1,783 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VB-WEB : How to set permission during creating SETUP

I have intranet application developed in asp.net using vb.net. There is one admin that can create number of Manager,senior manager, manager and users. Sr manager can create managers and users, similarly manager can create users.
I want to set that Admin can only create specified number of Sr manager as well as manager and all.Similarly for Sr Manager, Manager..........
The main problem is that I want to set permission for it (for ex 10 users)during creation of project setup. So the client can't able to add more than specified Sr manager, Manager or users.
Jun 11 '07 #1
2 1113
Atran
319 100+
I have intranet application developed in asp.net using vb.net. There is one admin that can create number of Manager,senior manager, manager and users. Sr manager can create managers and users, similarly manager can create users.
I want to set that Admin can only create specified number of Sr manager as well as manager and all.Similarly for Sr Manager, Manager..........
The main problem is that I want to set permission for it (for ex 10 users)during creation of project setup. So the client can't able to add more than specified Sr manager, Manager or users.
Dear srauniyar:
-----------------------
First you must read about Posting Guidelines
And check this link:
http://www.thescripts.com/forum/thread641429.html
----------------------------------------------------------------------------
Do not post your problems here (dont post a question in .Net Article).
Here you can post an article.
Goto .NET Forum to post this question.

Thanks for joining the site.
Jun 11 '07 #2
Frinavale
9,735 Expert Mod 8TB
I have intranet application developed in asp.net using vb.net. There is one admin that can create number of Manager,senior manager, manager and users. Sr manager can create managers and users, similarly manager can create users.
I want to set that Admin can only create specified number of Sr manager as well as manager and all.Similarly for Sr Manager, Manager..........
The main problem is that I want to set permission for it (for ex 10 users)during creation of project setup. So the client can't able to add more than specified Sr manager, Manager or users.
Hi Srauniyar,
Welcome to TDSN!

Your system sounds very complex.
It seems to me that you have a bunch of objects:
Admin Object (maybe just a Sr Manager with a boolean indicating they're the admin?)
Manager Object
Sr Manager Object

You'll have to create an interface that lets the admin select the number of users the manager is allowed to create.
Store that number into the database.
Retrieve that number and use it to specify how many accounts the manager's allowed to make.

Does this make sense?

-Frinny
Jun 11 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Terry | last post by:
Hi, I need some feedback. We are converting to .Net and we are trying to decide on whether to use VB.net or C#.net. As far as our current systems, they will probably be rewritten in ASP.Net. I...
13
by: Arsalan | last post by:
Is there any advantage in C# over VB.NET ? Or the difference is only syntax ? Can anything done in C# which cannot be done in VB.NET?
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
25
by: Sharrukin Amiri | last post by:
Hello, I am using VB 6.0 for many years. Everytime I needed to build software applications, I just opened VB 6.0 and started coding. I am now looking VB.NET Express Edition and I find I can no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.