Entering content frame

ALTER USERGROUP Statement (alter_usergroup_statement) Locate the document in its SAP Library structure

The ALTER USERGROUP statement (alter_usergroup_statement) changes the properties assigned to a user group.

Syntax

<alter_usergroup_statement> ::= ALTER USERGROUP <usergroup_name> [<usergroup_mode>]
  [TIMEOUT <unsigned_integer> | TIMEOUT NULL]
  [COSTWARNING <unsigned_integer> | COSTWARNING NULL]
  [COSTLIMIT <unsigned_integer> | COSTLIMIT NULL]
  [DEFAULT ROLE ALL [EXCEPT <role_name>] | DEFAULT ROLE NONE | DEFAULT ROLE <role_name>]
  [[NOT] EXCLUSIVE]
  [DEFAULTCODE ASCII | DEFAULTCODE UNICODE>]

<usergroup_mode> ::= RESOURCE | STANDARD

Explanation

At least one of the optional clauses must be specified.

The specified user group must identify a defined user group.

The current database user must have owner authorization over the user group whose properties are to be altered.

When the ALTER USERGROUP statement is executed, no member of the specified user group must be logged on to the database system.

Database User Class of the User Group (usergroup_mode)

·        RESOURCE: Specifies that the user group is to be assigned the database user class RESOURCE.

·        STANDARD: Specifies that the user group is removed from the current database user class and loses the right to create and store its own data. All the base tables created to date by the user group are dropped.

·        No Database User Class: If a database user class has not been specified, the database user class of the user group remains unchanged.

NULL

If the value NULL is specified, the previously defined value is cancelled.

DEFAULT ROLE

DEFAULT ROLE defines which of the roles assigned to the user group is activated automatically when a session is opened by a group member.

·        ALL: All the roles assigned to the user group are activated when a session is opened. EXCEPT can be used to exclude specified roles from being activated.

·        NONE: None of the roles is activated when a session is opened by a member of the user group.

·        Role name specified: The roles specified here must exist and be assigned to the user group. They are automatically activated when a session is opened by a group member.

Note

For a description of TIMEOUT, COSTWARNING, COSTLIMIT, [NOT] EXCLUSIVE, and DEFAULTCODE, see CREATE USERGROUP statement.

 

Leaving content frame