spidsec

Authorize Users to Access SPIDs

When the SPID Security feature is enabled, this command allows a user logged in as lsmsadm to associate specified users to access data belonging to specified Service Provider ID (SPID).

Keyword

spidsec

Permission

The user must be logged in with the user name lsmsadm.

Syntax

$LSMS_TOOLS_DIR/spidsec [-h] [-a -r -d] -u <user> -s{<spid>|GOLDEN}

Required Flags

-u <user>
Specify a username that has already been defined on the LSMS (see Managing User Accounts).
-s {<spid>|GOLDEN}
Specify a SPID that has been defined (for more information, refer to the Configuration Guide) or specify GOLDEN to apply to all defined SPIDs.

One of the following options must be specified:

-a
Authorize user for the specified SPID.
-d
Display user’s authorization information.
-r
Remove SPID authorization from given user (optionally specify a username with the -u flag; if no username is specified, all usernames that have been defined on the LSMS are displayed).

Sample Output

# Display the SPID security for the username lsmsadm

$ spidsec -d -u lsmsadm

lsmsadm GOLDEN
# Authorize the username thomas to access the SPID TKLC

$ spidsec -a -u thomas -s TKLC

No output is displayed.

# Display the SPID security for all usernames

$ spidsec -d

lsmsadm GOLDEN
lsmsall GOLDEN
lsmsuser GOLDEN
lsmsuext GOLDEN
lsmsview GOLDEN

thomas TKLC

Related Commands

None.

Possible Errors

Exit Codes: spidsec

Exit Code

Cause

Suggested Recovery

-1

Usage error.

Correct the syntax.

1

File access error.

Contact the My Oracle Support (MOS).

2

Database error.

Contact the My Oracle Support (MOS).

3

Invalid user.

Change user to lsmsadm.

4

Unknown error.

Contact the My Oracle Support (MOS).

This command is usually run by scripts; scripts should search for exit codes. When the command is run from the command line, the output indicates suggested recovery.