Enum ResultDictionaries.AddUserResultCode
Namespace: TecnoPack.UsersManager
Assembly: CO0002_Templ_FlowpackHMI_V00_26_M.dll
Enumerates all possible results returned when adding a new user.
public enum ResultDictionaries.AddUserResultCode
Fields
EmptyPassword = 3
One or more password fields were empty.
EmptyUsername = 2
Username was not provided.
InsufficientPermissions = 7
The user attempting this action does not have sufficient permissions.
InvalidUsername = 8
Username contains special characters.
NoGroupAssigned = 6
No group was assigned to the user.
PasswordMismatch = 5
The two password fields do not match.
Success = 0
User created successfully.
SuccessNoGroups = 1
User created but no groups were assigned.
UserAlreadyExists = 4
A user with the given name already exists.
Remarks
| Success | User created successfully. |
| SuccessNoGroups | User created but no groups were assigned. |
| EmptyUsername | Username was not provided. |
| EmptyPassword | One or more password fields were empty. |
| UserAlreadyExists | A user with the given name already exists. |
| PasswordMismatch | The two password fields do not match. |
| NoGroupAssigned | No group was assigned to the user. |
| InsufficientPermissions | The user trying to perform this action doesn't have an adequate level. |
| InvalidUsername | Username contains special characters. |