HI all i m making a project in which i have added menu named Login which includes items
like login, create new user, delete user, change password etc. i want to access these items on the basis of username. e.g. if username is administrator he can access all the items but if someone else logins he must not access create new user, delete uder items.
i want to access these items from another form.
but i m unable to access these items. can anyone tell me wts the reason
Gaurav arora
0
Junior Poster in Training
Recommended Answers
Jump to PostYou can manage enabling and disabling items according to user cerdentials, when user logins into your system get its type (Admin, user,...) and then make switch case, in case of User's type is user so CreateUser.Enable = false....
Jump to PostDear Gaurav,
In first can you make me understand why you want to access items from another form ?
I can help you with authentaction module that render menuItems depend on the login user and every user has its privileges.
All 6 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
Gaurav arora
0
Junior Poster in Training
AmirBedair
0
Light Poster
Ramy Mahrous
401
Postaholic
Featured Poster
camilojvarona
0
Junior Poster in Training
Gaurav arora
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.