SAP ABAP Class /SLOAP/CL_USER (Role)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/APPLICATION (Package) SLT AP VER 1.0
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/APPLICATION (Package) SLT AP VER 1.0
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | /SLOAP/CL_OBJECT_MINIMAL | minimal sloas object | 20100127 |
Properties
Class | /SLOAP/CL_USER | |
Short Description | Role | |
Super Class | /SLOAP/CL_OBJECT_MINIMAL | minimal sloas object |
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /SLOAP/APPLICATION | SLT AP VER 1.0 |
Created | 20100127 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /SLOAP/CL_USER has no interface implemented.
Friends
Class /SLOAP/CL_USER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DELETE_USER | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100127 | ||
2 | GV_AUTH_ID | Instance attribute | Private | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: Authorization | 20100127 | ||
3 | TH_USER_ROLE | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TH1_USER_ROLE_ADD | SLOAS: Assignment of role to authorization | 20100127 | ||
4 | TH_USER_ROLE_DEL | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TH1_USER_ROLE_ADD | SLOAS: Assignment of role to authorization | 20100127 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_ROLE | Instance method | Private | Method | Adds role to the user | 20100127 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20100127 |
3 | CREATE | Static method | Public | Method | Creates a new user | 20100127 |
4 | DELETE | Instance method | Public | Method | Deletes the authorization | 20100127 |
5 | GET_AUTHS | Instance method | Public | Method | Returns all authorizations of the user | 20100127 |
6 | GET_AUTH_ID | Instance method | Public | Method | Returns User ID | 20100127 |
7 | GET_ROLE | Instance method | Public | Method | Get user role | 20100127 |
8 | GET_USER_ROLE | Static method | Public | Method | Checks if a certain user has a certain authorization | 20100127 |
9 | HAS_AUTH | Instance method | Public | Method | Check if the user has a certain authorization | 20100127 |
10 | HAS_USER_AUTH | Static method | Public | Method | Checks if a certain user has a certain authorization | 20100127 |
11 | LOAD | Static method | Public | Method | Loads an existing user | 20100127 |
12 | LOAD_USER | Static method | Private | Method | Loads the user | 20100127 |
13 | REMOVE_ROLE | Instance method | Public | Method | Removes a role | 20100127 |
14 | SAVE | Instance method | Public | Method | Saves the user | 20100127 |
15 | SELECT_USER | Static method | Private | Method | Selects the user from Database | 20100127 |
16 | SET_ROLE | Instance method | Public | Method | Sets role to the user | 20100127 |
17 | SET_USER_ROLE | Instance method | Private | Method | Sets the user roles | 20100127 |
Events
Class /SLOAP/CL_USER has no event.
Types
Class /SLOAP/CL_USER has no local type.
Method Signatures
Method ADD_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
3 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/USER_GUID | SLOAS: Guid | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_INVALID_PARAMETER | 20100127 |
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method DELETE Signature
Method DELETE on class /SLOAP/CL_USER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_IS_REFERENCED | 20100127 |
Method GET_AUTHS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_AUTH | Value transfer | Type reference (TYPE) | /SLOAP/T_R_AUTH | SLOAS | 20100127 |
Method GET_AUTHS on class /SLOAP/CL_USER has no exception.
Method GET_AUTH_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_ID | Value transfer | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
Method GET_AUTH_ID on class /SLOAP/CL_USER has no exception.
Method GET_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | 20100127 |
Method GET_ROLE on class /SLOAP/CL_USER has no exception.
Method GET_USER_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | Role | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SY-UNAME | SLOAS: User name | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method HAS_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | |||
2 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization Guid | 20100127 | ||
3 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method HAS_USER_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | |||
2 | Importing | IV_AUTH_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization Guid | 20100127 | ||
3 | Importing | IV_AUTH_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 | ||
4 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SY-UNAME | SLOAS: User name | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method LOAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method LOAD_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | ||
2 | Importing | IS_USER | Call by reference | Type reference (TYPE) | /SLOAP/USER | SLOAS: Role data | 20100127 |
Method LOAD_USER on class /SLOAP/CL_USER has no exception.
Method REMOVE_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method SAVE Signature
Method SAVE on class /SLOAP/CL_USER has no parameter.
Method SAVE on class /SLOAP/CL_USER has no exception.
Method SELECT_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ES_USER | Value transfer | Type reference (TYPE) | /SLOAP/USER | SLOAS User data | 20100127 | ||
2 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/USER_GUID | SLOAS: User GUID | 20100127 | ||
3 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_INVALID_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
3 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method SET_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
3 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method SET_USER_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_USER_ROLE | Call by reference | Type reference (TYPE) | /SLOAP/TH1_USER_ROLE_ADD | SLOAS: Assignment of role to authorization | 20100127 |
Method SET_USER_ROLE on class /SLOAP/CL_USER has no exception.
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 700 |