ODBC Driver for Azure Active Directory

Build 24.0.9175

RetrieveUserPhoto

Retrieves a user's profile photo for display or verification purposes.

Input

Name Type Description
UserId String The unique identifier of the user whose photo you want to retrieve.
PhotoSize String The dimensions of the photo to retrieve, specified in pixels. Supported sizes include 48x48, 64x64, 96x96, 120x120, 240x240, 360x360, 432x432, 504x504, and 648x648.
FileLocation String The file path and name where the photo will be saved. Specify the full path, including directories and file extension.
Encoding String The character encoding format for the file data, such as UTF-8 or Base64.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Status String Indicates the success or failure status of the stored procedure execution.
FileData String The binary data of the retrieved photo, provided as the output.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175