profilePhoto 资源类型profilePhoto resource type

从 Exchange Online 访问的用户、组或 Outlook 联系人的个人资料照片。它是不以 base-64 编码的二进制数据。A profile photo of a user, group or an Outlook contact accessed from Exchange Online. It's binary data not encoded in base-64.

Exchange Online 支持的 HD 照片大小如下所示:'48x48'、'64x64'、'96x96'、'120x120'、'240x240'、'360x360'、'432x432'、'504x504' 和 '648x648'。The supported sizes of HD photos on Exchange Online are as follows: '48x48', '64x64', '96x96', '120x120', '240x240', '360x360','432x432', '504x504', and '648x648'.


方法Method 返回类型Return Type 说明Description
获取 profilePhotoGet profilePhoto profilePhotoprofilePhoto 获取指定的 profilePhoto 或其元数据(profilePhoto 属性)。Get the specified profilePhoto or its metadata (profilePhoto properties).
更新Update profilePhotoprofilePhoto 将照片分配给指定的用户、组或联系人。照片应为二进制格式。它将替换现有的照片(如有)。Assign a photo to the specified user, group, or contact. The photo should be in binary. It replaces the existing photo, if any.


属性Property 类型Type 说明Description
idid stringstring 只读。Read-only.
heightheight int32int32 照片的高度。只读。The height of the photo. Read-only.
widthwidth int32int32 照片的宽度。只读。The width of the photo. Read-only.



JSON 表示形式JSON representation

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

  "id": "240X240",
  "height": 240,
  "width": 240