| PasswordGenerationGeneratePassword Method |
Generates a random password - typically for a new identity.
Codemethod usage | |
---|
Designed to be used in a process only | No |
Action Object (data object type) | Any |
Security | Executing user |
Namespace:
Omada.OE.Solution.OIM.Assembly
Assembly:
Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntaxpublic void GeneratePassword(
CodeMethodInvokeContext context,
string encryptionRegKey,
int passwordLength,
out string result
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
- encryptionRegKey
- Type: SystemString
Registry key (below Omada Enterprise).
Example: "PswEncryptionKey".
The value of the registry key is used to encrypt the generated password.
- passwordLength
- Type: SystemInt32
- result
- Type: SystemString
Returns an encrypted ramdom password as a Base64 string.
See Also