Helper.MultiLoginNameSemicolon method
Takes a collection of users and returns a string that is a concatenation of the users’ login names delimited by semicolons.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function MultiLoginNameSemicolon ( _
context As WorkflowContext, _
val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String
returnValue = Helper.MultiLoginNameSemicolon(context, _
val)
public static string MultiLoginNameSemicolon(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that represents a workflow context.
val
Type: System.ObjectA string with one of the following formats:
Something in the form “1;#user1;#6;# user6", where the number is an identifier, “ ;#” is a separator, and the user numbers are user names of principals or SMTP addresses of offsite participants corresponding to the preceding numbers.
An arbitrary string but with no “;#”.
Return value
Type: System.String
A string with the users’ names.
Exceptions
Exception | Condition |
---|---|
CoercionException | The val parameter is incorrectly formatted. |