PhenixID

Base 64 Encode/Decode Attribute Values

Version: 2.0

Category: Process
Extended Category: Binary

Action Package: Standard Actions

Description

Base 64 encode or decode a starting value. Can also decode an Active Directory Object GUID or Object SID binary to a string value, or encode it back to binary.

Parameter

Description

Example

Session Attribute with Origin Value

The session attribute that holds the origin value.

ObjectGUID

Mode: 

Enter ENCODE, DECODE, ENCODE-GUID (for AD GUID encoding), DECODE-GUID (for AD GUID decoding), ENCODE-SID (for AD SID encoding), DECODE-SID (for AD SID decoding). Default: ENCODE

DECODE

Status Session Attribute

If specified, will populate the specific session attribute with the text “SUCCESS” if the operation succeeds, or “FAILED” if it fails, for each session object.

Leave blank to fail the action if the value can´t be handled.

base64-conversion-status

New Session Attribute

If a new session attribute should be added with the mapping value. If empty, the origin attribute will be used.

ObjectGUID-Decode

Add {} to AD GUID (true/false)

If using DECODE-GUID, wrap the guid with {}. Default is true.

true

Attribute Type

The type of the original attribute value, when using the mode ENCODE. (binary/text)

By default, the action will try to determine the type depending on the content.

binary

Use Cases

Example 1: Create ObjectID from ObjectGUID

This action will create an object ID by base64 decoding the objectGUID

Parameter

Value

Session Attribute with Origin Value

objectGUID

Mode: ENCODE, DECODE, DECODE-GUID, ENCODE-GUID

DECODE-GUID

Status Session Attribute:

[BLANK]

New Session Attribute

objectID

Add {} to AD GUID (true/false)

[BLANK]

Attribute Type

[BLANK]


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se