Skip to main content Skip to complementary content

AddGroupMembersAsync Method

Overloads

AddGroupMembersAsync(String, IEnumerable<NxGroupObjectId>, String, String)

You can use the AddGroupMembers method with any object that contains an object grouping definition.

This method allows you to add one or more members to an existing group of objects directly.

AddGroupMembersAsync(AsyncHandle, String, IEnumerable<NxGroupObjectId>, String, String)

You can use the AddGroupMembers method with any object that contains an object grouping definition.

This method allows you to add one or more members to an existing group of objects directly.

AddGroupMembersAsync(String, IEnumerable<NxGroupObjectId>, String, String)

You can use the AddGroupMembers method with any object that contains an object grouping definition.

This method allows you to add one or more members to an existing group of objects directly.

Declaration

      public Task AddGroupMembersAsync([QixName("qPath")] string path, [QixName("qMembers")] IEnumerable<NxGroupObjectId> members, [QixName("qTargetGroupId")] string targetGroupId = null, [QixName("qPosId")] string posId = null)
    

Parameters

Type Name Description
System.String path

Path to the definition of the object to be selected. For exampleb /qNxGroupDef .

System.Collections.Generic.IEnumerable<NxGroupObjectId> members

Array of IDs for the objects and/or subgroups to add to the group.

System.String targetGroupId

Name of the group the Members will be added to (if not the called object).

System.String posId

Id of the member whose position to insert into.

Returns

Type Description
System.Threading.Tasks.Task

Implements

AddGroupMembersAsync(AsyncHandle, String, IEnumerable<NxGroupObjectId>, String, String)

You can use the AddGroupMembers method with any object that contains an object grouping definition.

This method allows you to add one or more members to an existing group of objects directly.

Declaration

      public Task AddGroupMembersAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qMembers")] IEnumerable<NxGroupObjectId> members, [QixName("qTargetGroupId")] string targetGroupId = null, [QixName("qPosId")] string posId = null)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String path

Path to the definition of the object to be selected. For exampleb /qNxGroupDef .

System.Collections.Generic.IEnumerable<NxGroupObjectId> members

Array of IDs for the objects and/or subgroups to add to the group.

System.String targetGroupId

Name of the group the Members will be added to (if not the called object).

System.String posId

Id of the member whose position to insert into.

Returns

Type Description
System.Threading.Tasks.Task

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!