directoryObject 资源类型directoryObject resource type

表示 Azure Active Directory 对象。directoryObject 类型是其他许多目录实体类型的基类型。Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

方法Methods

方法Method 返回类型Return Type 说明Description
获取 directoryObjectGet directoryObject directoryObjectdirectoryObject 读取 directory 对象的属性。Read the properties of a directory object.
删除 directoryObjectDelete directoryObject None 删除 directory 对象。Delete a directory object.
checkMemberGroupscheckMemberGroups String collectionString collection 检查组列表中的成员身份。检查是可传递的。Check for membership in a list of groups. The check is transitive.
getMemberGroupsgetMemberGroups String collectionString collection 返回 user、group 或 directory 对象所属的所有组。检查是可传递的。Return all the groups that the user, group, or directory object is a member of. The check is transitive.
getMemberObjectsgetMemberObjects String collectionString collection 返回 user、group 或 directory 对象所属的所有组和目录角色。检查是可传递的。Return all of the groups and directory roles that the user, group, or directory object is a member of. The check is transitive.
getByIdsgetByIds directoryObject 集合directoryObject collection 基于提供的 ID 集获取目录对象集。Get a set of directory objects based on a set of supplied ids.

属性Properties

属性Property 类型Type 说明Description
idid StringString 用作此对象的唯一标识符的 Guid;例如,12345678-9abc-def0-1234-56789abcde。键。不可为 null。只读。A Guid that is the unique identifier for the object; for example, 12345678-9abc-def0-1234-56789abcde. Key. Not nullable. Read-only.

RelationshipsRelationships

None

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource

{
  "id": "string (identifier)"
}