ADO.NET Provider for Microsoft Office 365

Build 26.0.9655

GroupMembers

Members of a Microsoft 365 or security group.

Table Specific Information

Select

The provider will use the Microsoft Office 365 API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the provider.

  • GroupId supports the '=' and IN operator.

For example, the following queries are processed server side:

SELECT * FROM GroupMembers WHERE GroupId IN ('4729c5e5-f923-4435-8a41-44423d42ea79', 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1')

SELECT * FROM GroupMembers WHERE GroupId = '4729c5e5-f923-4435-8a41-44423d42ea79'

Insert

GroupId and MemberId fields are required to insert a new member to a group. MemberId correspond to the Id of the User, you can query the Users table to get the Id of the User you want to add as a member.

INSERT INTO GroupMembers (GroupId, MemberId) VALUES ('acabe397-8370-4c31-aeb7-2d7ae6b8cda1', 'ad9de185-a7af-4ae5-946e-17fc1bf596f0')

Delete

You can delete a group member by specifying GroupId and MemberId.

DELETE FROM GroupMembers WHERE GroupId = 'e557c6d9-3d9a-4658-b51a-4f242c2f8ec8' AND MemberId = 'ba074a2a-69be-45d2-8519-2cc5688bca1e'

Columns

Name Type ReadOnly References Description
GroupId [KEY] String True

The unique identifier of the group whose members are being retrieved.

MemberId [KEY] String True

The unique identifier of the member being added to or removed from the group.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655