UserIDGeneratorParameters Class |
Namespace: Omada.OE.Solution.OIM.Model
[SerializableAttribute] public class UserIDGeneratorParameters
The UserIDGeneratorParameters type exposes the following members.
Name | Description | |
---|---|---|
![]() | UserIDGeneratorParameters |
Default constructor
|
Name | Description | |
---|---|---|
![]() | BlacklistedValues |
Contains a number of blacklisted values like for ex. "ASS" or "FUCK".
|
![]() | DataSourceIdForDuplicateCheck |
UId of Data Source object which contains query used for check of uniqueness
The datasource must contain a parameter "userId" which should be used to compare the generated userid agains the external data source in the query
e.g: SELECT 1 FROM users where username = @userId
If the data source query returns a result, the generated identity id is NOT unique
|
![]() | Length |
Specifies the length of the generated userid.
The prefix and postfix are not considered for the length.
|
![]() | MaxNumberOfTries |
Number of attempts to create the identity id before throwing exception
|
![]() | Names |
Collection of IdentityIdName objects used to generate the identity id
|
![]() | NegativeCharacters |
All characters from this collection will be skipped when generating the identity id
|
![]() | PositiveCharacters |
If not empty - Only characters in this collection will be used when generating the identity id
|
![]() | Postfix |
The postfix (in uppercase) will be postfixed to the generated userid.
|
![]() | PostfixNumber |
If true,
a number using the offset in the PostfixNumberOffset parameter
will be postfixed to the generated user id.
E.g. if the generated user id is "MVA" and the offset is 200
the final user id will be "MVA200" and "MVA201" for subsequent user ids (if the generated user id is "MVA")
When the generated user id differes from any previous generated user id, the offset number will be reset
|
![]() | PostfixNumberOffset |
Offset to postfix the generated user id with
|
![]() | PostfixSequence |
If true a sequence number will be postfixed to the generated userid.
|
![]() | PostfixSequenceId |
Specifies the id of a sequence in OIM that will be used for generating postfixes.
Is only used if PostfixSequence is true.
|
![]() | PostfixSequenceLength |
Minimum length of the postfixed sequence number.
Example: if the PostfixSequenceLength is 4 and a sequence number of 147 is generated
the value "0147" is postfixed.
Is only used if PostfixSequence is true.
|
![]() | Prefix |
The prefix (in uppercase) will be prepended to the generated userid.
|
![]() | Separator |
Character which will be appended after each string property value, e.g. to generate an id like "firstname.lastname" |
![]() | SubstitutionRules |
Contains a set of substitution rules.
Any occurences of the strings will be substituted with the substitution-string.
Example: if the letter "Æ" should be substituted with "AE" this combination should be added.
Casing is disregarded - ex. "æ" means both "æ" and "Æ".
|
![]() | ToLowerCase |
Convert all characters to lowercase
|
![]() | UserDataObjectTypeIds |
The ids of the "user" data object types must be added here.
The data objects of these types will be checked to find whether a generated userid is unique.
|
![]() | UserIdPropertyId |
Id of the value property w. data type 'text' that holds the userid on the specified data object types.
|
Name | Description | |
---|---|---|
![]() | AddNegativeCharString |
Add a string of characters to the list of negative characters
White spaces will be removed
|
![]() | AddPositiveCharString |
Add a string of characters to the list of positive characters
White spaces will be removed
|
![]() | ComplyDefaultSubtitutionRule |
The function converts illegal characters defined in the default subtitution rule
to illegal characters, such as Å to A etc.
|
![]() | ValidateParameters |
Validate parameters
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |