| MainGetReferredUserInfo Method |
Gets the information from the user who is being referred to.
The code method returns information (first name, last name, username, and email) from the user being referenced.
Codemethod usage | |
---|
Designed to be used in a process only (Yes/No) | No |
Action Object (data object type) | Any data object type that has a reference to a user |
Namespace:
Omada.OE.UtilityCodeAssembly
Assembly:
Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntaxpublic bool GetReferredUserInfo(
CodeMethodInvokeContext context,
string referencePropertySysName,
out string userName,
out string firstName,
out string lastName,
out string email
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
- referencePropertySysName
- Type: SystemString
Reference property sytem name that point to the user objects
- userName
- Type: SystemString
returns the username of the active user
- firstName
- Type: SystemString
returns the firstName of the active user
- lastName
- Type: SystemString
returns the lastName of the active user
- email
- Type: SystemString
returns the email of the active user
Return Value
Type:
Boolean
See Also