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
⤷
⤷
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 | 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 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100127 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: Authorization | 20100127 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TH1_USER_ROLE_ADD | SLOAS: Assignment of role to authorization | 20100127 | |||
| 4 | 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 | Instance method | Private | Method | Adds role to the user | 20100127 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20100127 | |
| 3 | Static method | Public | Method | Creates a new user | 20100127 | |
| 4 | Instance method | Public | Method | Deletes the authorization | 20100127 | |
| 5 | Instance method | Public | Method | Returns all authorizations of the user | 20100127 | |
| 6 | Instance method | Public | Method | Returns User ID | 20100127 | |
| 7 | Instance method | Public | Method | Get user role | 20100127 | |
| 8 | Static method | Public | Method | Checks if a certain user has a certain authorization | 20100127 | |
| 9 | Instance method | Public | Method | Check if the user has a certain authorization | 20100127 | |
| 10 | Static method | Public | Method | Checks if a certain user has a certain authorization | 20100127 | |
| 11 | Static method | Public | Method | Loads an existing user | 20100127 | |
| 12 | Static method | Private | Method | Loads the user | 20100127 | |
| 13 | Instance method | Public | Method | Removes a role | 20100127 | |
| 14 | Instance method | Public | Method | Saves the user | 20100127 | |
| 15 | Static method | Private | Method | Selects the user from Database | 20100127 | |
| 16 | Instance method | Public | Method | Sets role to the user | 20100127 | |
| 17 | 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 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 | |||
| 3 | 20100127 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/USER_GUID | SLOAS: Guid | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: Authorization | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 |
Method DELETE Signature
Method DELETE on class /SLOAP/CL_USER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 |
Method GET_AUTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | Role | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SY-UNAME | SLOAS: User name | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 |
Method HAS_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | ||||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization Guid | 20100127 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 |
Method HAS_USER_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | ||||
| 2 | IV_AUTH_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization Guid | 20100127 | |||
| 3 | IV_AUTH_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 | |||
| 4 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SY-UNAME | SLOAS: User name | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 |
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 |
Method LOAD_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_USER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_USER | Role | 20100127 | |||
| 2 | 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 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ES_USER | Value transfer | Type reference (TYPE) | /SLOAP/USER | SLOAS User data | 20100127 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/USER_GUID | SLOAS: User GUID | 20100127 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/USER_ID | SLOAS: User name | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 | |||
| 3 | 20100127 |
Method SET_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | SLOAS: Role GUID | 20100127 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | SLOAS: Role ID | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100127 | |||
| 2 | 20100127 | |||
| 3 | 20100127 |
Method SET_USER_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 |