RuntimeServiceGetGroup Method |
Namespace: Advantys.Workflow.Web.Services.Processes.Runtime
Optional Parameters.
These parameters can be used in the query string or as parameters of the Headers object in the RuntimeService class instance. See example below.
GroupId (int) | Id of the group to get. Supercedes the group name. |
DirectoryName (int) | Specifies the directory name of the group to get. Can be empty if GroupId is specified or when there exists only one group with the same name in WorkflowGen. |
DirectoryId (int) | Specifies the directory Id of the group to get. Can be empty if GroupId is specified or when there exists only one group with the same name in WorkflowGen. Supercedes the directory name. |
<Group> <Name /> <Description /> </Group>
<Group> <ID /> <Name /> <Description /> <DateCreation /> <DateUpdate /> <Directory /> <ReadOnly /> <Email /> <LDAP_ADsPath /> <DistinguishedName /> <CommonName /> <BuiltIn /> <Code /> <SystemIdentifier /> <Synchronized /> <DataSourceQuery /> <Users /> </Group>
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService(); RuntimeServiceWebService.ExportGroupHeader myExportGroupHeader = new RuntimeServiceWebService.ExportGroupHeader(); myRuntimeService.ExportGroupHeaderValue = myExportGroupHeader; myExportProcessHeader.DirectoryId = directoryId; string groupDefinition = myRuntimeService.GetGroup(groupName, null);