|
static bool | SetUserPassword (string AUsername, string ANewPassword, bool APasswordNeedsChanged, bool AUnretireIfRetired, string AClientComputerName, string AClientIPAddress, out TVerificationResultCollection AVerification) |
| Sets the password of any existing user. This Method takes into consideration how users are authenticated in this system by using an optional authentication plugin DLL. Only users with Module Permission SYSMAN can call this Method! They don't need to supply the current Password of the user with this Method overload (they usually don't know this). The new password must meet the password quality criteria! More...
|
|
static bool | SetUserPassword (string AUserID, string ANewPassword, string ACurrentPassword, bool APasswordNeedsChanged, string AClientComputerName, string AClientIPAddress, out TVerificationResultCollection AVerification) |
| Changes the password of the current user. This takes into consideration how users are authenticated in this system by using an optional authentication plugin DLL. Any user can call this, but they must only change their own password, they need to know their current password, the new password must meet the password quality criteria and it must not be the same than the current password! More...
|
|
static bool | LockSysadmin () |
| lock the user SYSADMIN while this instance is not assigned to a customer yet More...
|
|
static bool | CreateUser (string AUsername, string APassword, string AFirstName, string AFamilyName, string ALanguageCode, string AModulePermissions, string AToken, out string AUserID, TDataBase ADataBase=null) |
| creates a user, either using the default authentication with the database or with the optional authentication plugin dll More...
|
|
static bool | GetAuthenticationFunctionality (out bool ACanCreateUser, out bool ACanChangePassword, out bool ACanChangePermissions) |
| check the implementation of the authentication mechanism and which functionality is implemented for OpenPetra More...
|
|
static MaintainUsersTDS | LoadUsersAndModulePermissions () |
| load all users in the database and their permissions More...
|
|
static MaintainUsersTDS | CreateUserWithInitialPermissions () |
| create new user More...
|
|
static MaintainUsersTDS | LoadUserAndModulePermissions (string AUserId) |
| load one user from the database and the permissions of that user More...
|
|
static bool | SaveUserAndModulePermissions (string AUserId, string AFirstName, string ALastName, string AEmailAddress, string ALanguageCode, bool AAccountLocked, bool ARetired, bool ASendMail, List< string > AModulePermissions, String AModificationId, out TVerificationResultCollection AVerificationResult) |
| save the details and permissions of one user More...
|
|
static bool | SetInitialSysadminEmail (string AEmailAddress, string AFirstName, string ALastName, string ALanguageCode) |
| set initial email address for user SYSADMIN More...
|
|
static bool | SendWelcomeEmail (string ASysAdminEmailAddress, string AUserEmailAddress, string AUserID, string AFirstName, string ALastName, string ALanguageCode) |
| welcome the user and tell about the users and how to set the password More...
|
|
static bool | RequestNewPassword (string AEmailAddress) |
| request new password More...
|
|
static bool | SetNewPassword (string AUserID, string AToken, string ANewPassword, out TVerificationResultCollection AVerificationResult) |
| set a new password, authorized by the token that was sent via e-mail More...
|
|
static bool | SignUpSelfServiceEnabled (TDataBase ADataBase=null) |
| has self service been enabled? More...
|
|
static bool | SignUpSelfService (string AEmailAddress, string AFirstName, string ALastName, string APassword, string ALanguageCode, out TVerificationResultCollection AVerification) |
| sign up for self service More...
|
|
static bool | SignUpSelfServiceConfirm (string AUserID, string AToken) |
| confirm the e-mail address for the self service account More...
|
|
static string | GetSelfServiceAssistant () |
| Is this user a self service user, and should be redirected to the MaintainPartnerSelfService window. More...
|
|
static TSubmitChangesResult | SaveSUser (ref MaintainUsersTDS ASubmitDS, string AClientComputerName, string AClientIPAddress) |
| this is called from the MaintainUsers screen, for adding users, retiring users, set the password, etc More...
|
|
maintain the system, eg. user management etc