Ws.CurrentUser
Winshuttle Designer Controls
- Supported InfoPath controls
- Ws.Assignment
- Ws.Attachment
- Ws.Button
- Ws.Comment
- Ws.CurrentUser
- Ws.FormCompletionDelegation
- Ws.FormName
- Ws.FormValidation
- Ws.History
- Ws.Lookup
- Ws.ProcessControl
- Ws.Query
- Ws.SAP Field Lookup
- Ws.SharePointUserMap
- Ws.SharePointUsers
- Ws.URL
- Ws.ViewInfo
- Ws.WebService
- Ws.WorkflowParticipant
- Wso.WebService Lookup
The Ws.CurrentUser control allows you to capture details related to the user who is currently working on the form. In addition, you can enable Auto Refresh to force-update the fields with the Current User with the form open. This is most useful if you don’t require the Current User Fields to always remain filled with the Originators information.
Download example (.wssln file)
Ws.CurrentUser Properties
Property | Description |
Auto Refresh | Forces an update of the specified field(s) regardless of the field contents. |
Current Date XPath | The form field that will receive the current date. |
Email XPath | The form field that will receive the email of the current user. |
Full Name XPath | The form field that will receive the full name of the current user. |
Login Name XPath | The form field that will receive the login name of the current user. |
Task Description XPath | The form field that will receive the current task's description. |
Task Name XPath | The form field that will receive the name of the current task. |
User ID XPath | The form field that will receive the internal SharePoint ID of the current user. |
User Name XPath | The form field that will receive the user name (the login name without the domain qualifier) of the current user. |
Ws.CurrentUser example
Note: If you require additional user information, use the Ws.Query Control and use the User Profile option.
Ws.currentuser configuration