Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 10th, 2007, 02:48 PM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to spar108r
Default Designing Custom Membership Object Questions...

Hi, I'm what you'd consider a visual c# newbie, as well as just starting out in oop programming.

I need help or a point in the right direction in achieving the following:

I have designed the following database tables which will be used to manage Users/Groups/Permissions throughout my client app;

[u]SEC_USER</u>
USER_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
USER_NAME
USER_PW
USER_EMAIL
FIRST_NAME
LAST_NAME
POSITION_TITLE
DEPARTMENT_NAME
USER_NOTES
PW_HINT_QUES_1
PW_HINT_ANSW_1
PW_HINT_QUES_2
PW_HINT_ANSW_2
PW_HINT_QUES_3
PW_HINT_ANSW_3
LGN_EXPIRES_FLG
LGN_EXPIRY_DT
USER_LOCKED_FLG
USER_LOCKED_DT
LOGGED_IN_FLG
LOGGED_IN_SESSIONS
LAST_LOGIN_DT
LAST_LGN_APP_VERSION
LAST_LGN_APP_BUILD
LAST_LGN_CLIENT_AUTH_NAME
LAST_LGN_CLIENT_MACHINE

[u]SEC_GROUP</u>
GROUP_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
GROUP_CD
GROUP_NAME

[u]SEC_PERMISSION</u>
PERMISSION_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
PERMISSION_CD
PERMISSION_NAME

[u]SEC_USER_GROUP</u>
USR_GROUP_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
USER_ID
GROUP_ID

[u]SEC_GROUP_PERMISSION</u>
GRP_PERMISSION_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
GROUP_ID
PERMISSION_ID

[u]SEC_USER_GROUP_PERMISSION</u>
USR_GRP_PERMISSION_ID
CREATED_DT
CREATED_BY
MODIFIED_DT
MODIFIED_BY
ACTIVE_FLG
USER_ID
GROUP_ID
PERMISSION_ID
PERMISSION_ENABLED_FLG

METHODS
VerifyUserLogin()
PerformUserLogin()
IsLoginExpired()
IsUserLocked()
RecoverLogin()
ChangePassword()
GeneratePassword()
GetClientInfo()
PerformUserLogout()
AddUser()
CopyUser()
DeleteUser()
LockUser()
UpdateUser()
UnlockUser()
GetAppInfo()
ValidateUser()

First off, will the table design above cover all the methods (listed above) in which i wish to invoke at some point or another within my client app? Secondly, are there any other methods that can be introduced as per my table design? Finally, ultimately, are there any articles or anything of that nature that can help me in designing a robust custom membership object?

Any help would be greatly appreciated.

Thanks in advance,
spar108r






Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Membership Provider Scott663 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 1st, 2008 05:16 PM
Membership vs custom ForumMembers Maxxim ASP.NET 2.0 Professional 4 July 28th, 2007 04:59 PM
Custom Membership Provider kulkarnimonica ASP.NET 2.0 Professional 0 June 21st, 2007 03:56 PM
problem with custom membership provider hertendreef ASP.NET 2.0 Professional 8 April 17th, 2007 12:11 PM
custom membership provider msrnivas General .NET 1 September 18th, 2005 04:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.