JDBC Driver for Azure Active Directory

Build 25.0.9434

RetrieveUserPhoto

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

Input

Name Type Accepts Output Streams Description
UserId String False The unique identifier of the user whose photo you want to retrieve.
PhotoSize String False 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 False The file path and name where the photo will be saved. Specify the full path, including directories and file extension.
Encoding String False 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.

FileStream String True An output stream object used to write the photo data when a file path is not specified.

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 25.0.9434