Topic
Retrieve properties of a user profile on a Nintex Form for SharePoint.
Instructions
The User Profile properties in SharePoint and how to reference them in Nintex Forms are as follows:
Example: userProfileLookup(CurrentUser,"PreferredName")
userProfileLookup("domain/login","Office")
Examples of User Properties:
NOTE: See link below for full list of default properties for user profile
- Add a Calculated Value control to the form.
- Double-click the Calculated value to reach the Control Settings of Calculated Value and select the Formula Builder Icon
- Select the Runtime Function tab
- Double-click the following formula: userProfileLookup
- Under the Common Tab, double-click the Current User to the userProfileLookup() formula, or manually input the desired user profile
- The InternalPropertyName is the second criteria to the userProfileLookup. Examples of default properties for a user profile can be found in the table and link below:
Example: userProfileLookup(CurrentUser,"PreferredName")
userProfileLookup("domain/login","Office")
Examples of User Properties:
Display Name | User Profile Property | Example Output |
User Name | UserName | jane.doe@mydomain.com |
Account Name | AccountName | i:0#.f|membership|jane.doe@mydomain.com |
Name | PreferredName | Jane Doe |
Claim User Identifier | SPS-ClaimID | jane.doe@mydomain.com |
NOTE: See link below for full list of default properties for user profile