Passa al contenuto principale

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

SuccessUser created successfully.
SuccessNoGroupsUser created but no groups were assigned.
EmptyUsernameUsername was not provided.
EmptyPasswordOne or more password fields were empty.
UserAlreadyExistsA user with the given name already exists.
PasswordMismatchThe two password fields do not match.
NoGroupAssignedNo group was assigned to the user.
InsufficientPermissionsThe user trying to perform this action doesn't have an adequate level.
InvalidUsernameUsername contains special characters.