TestUserIdentity

Allow a SQL script to determine if the current identity matches the one specified.

Location

/lib/util/

Inputs

type: USER or GROUP.

name: The user or group’s name.

domain: The user or group’s domain.

Output

result: TRUE if the current user or group corresponds to the inputs, otherwise FALSE.

Exceptions

N/A