Types of control used with user administration work with credentials
public enum CredentialControlType
1: The value is a normal edit field
4: The value should be hidden in the user interface.
3: The GetCredentialsGroups and GetCredentialUsers needs to be used to select a value.
2: The value is a password field and a pasword control should be used.
0: The value is static and can not be modified by the user interface.