Previous Topic: FIND Function--Return Position in String

Next Topic: HEX Function--Convert to Hexadecimal

GET Function--Locate Attributes in a User Directory

The GET function locates the specified attribute or attributes in a user directory and returns the attribute values. Multiple attribute values are separated by the caret character. If the function cannot find an attribute, it returns an empty string.

Syntax

The GET function has the following format:

GET(user_attribute_name | user_attributes_string)

Parameters

The GET function accepts one of the following parameters:

user_attribute_name (unquoted string)

Specifies a single user attribute.

user_attributes_string (string)

Specifies a string of user attribute names separated by a character. The function uses this character to separate one attribute's values from another attribute's values in the resulting string.

Return Value

The GET function returns a string.

Remarks

Privileged: Yes

LDAP Only: Yes

Example

Return_value=GET('sn,givenname')
Return_value='Finch,Robin'

More information:

SET Function--Set the Value of an Attribute


Copyright © 2010 CA. All rights reserved. Email CA about this topic