SAP ABAP Class CL_GRAC_DT_USERROLES (To get the existing roles for the User)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_UI_UTILITIES (Package) Access Control GRC Various UI supporting infrastructures
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HTTP_EXTENSION HTTP Framework (iHTTP) HTTP Request Handler 20121026
Properties
Class CL_GRAC_DT_USERROLES  
Short Description To get the existing roles for the User    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_UI_UTILITIES   Access Control GRC Various UI supporting infrastructures 
Created 20121026   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRAC_DT_USERROLES has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_HTTP_EXTENSION HTTP Framework (iHTTP) HTTP Request Handler 20121026
Friends
Class CL_GRAC_DT_USERROLES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_SESSION Static Attribute Public Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20121026
2 MT_CONNECTOR Static Attribute Public Type reference (TYPE) GRFN_T_CCICONNECTOR Connector list for scenario and sub scenario 20121026
3 MT_CONN_ENVIRONMENTS Static Attribute Private Type reference (TYPE) GRAC_T_CONNECTOR_DETAIL Connection environments 20121026
4 MT_ROLE_TYPE Static Attribute Public Type reference (TYPE) GRAC_T_API_RLTYPE Role type 20121026
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BUSINESS_ROLES Static method Public Method Filter roles that are provisioned as part of business roles 20130312
2 FILTER_BUSINESS_ROLES Static method Private Method Filter roles that are provisioned as part of business roles 20121227
3 GET_ALL_PROFILES_FOR_USER Static method Public Method Gets all Porfiles for Users 20121026
4 GET_ALL_ROLES_FOR_USER Static method Public Method Get all roles this user has 20121026
5 GET_CALCULATED_ROLE_VALIDITY Static method Public Method Get calculated Role Validity 20130326
6 GET_CON_ENVIRONMENTS Static method Public Method Gets connector environments 20121026
7 GET_PROVISIONING_CONNECTORS Static method Public Method Get all provisioning connectors 20121026
8 GET_SEARCHED_ROLES Static method Public Method Get searched roles in required structure 20121026
9 GET_SESSION Static method Private Method Get session handle 20121026
Events
Class CL_GRAC_DT_USERROLES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 BUS_ROLE Public See coding 20121227 begin of bus_role , bus_rolename type grac_role_name, bus_role_id_old type grfn_guid, bus_role_id type string, child_items type grac_t_role_out , end of bus_role
2 TY_ROLE_ID Private Type reference (TYPE) GRAC_ROLEID 20121026
Method Signatures

Method ADD_BUSINESS_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing BUS_ROLE_BUCKET Call by reference Type reference (TYPE) GRAC_T_ROLE_OUT Business Role Bucket 20130312
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Database session 20130312
3 Importing IV_CONNECTOR Call by reference Type reference (TYPE) GRFN_S_CCICONNECTOR Connector for a scenario and sub scenario 20130312
4 Importing LS_ROLE_DISPLAY Call by reference Type reference (TYPE) GRAC_S_CONFIG_PARAM_VALUE Config Param Value 20130312
5 Changing RT_ROLE_BUCKET Call by reference Type reference (TYPE) GRAC_T_ROLE_OUT Returning Roles Bucket 20130312

Method ADD_BUSINESS_ROLES on class CL_GRAC_DT_USERROLES has no exception.

Method FILTER_BUSINESS_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing BUS_ROLE_BUCKET Call by reference Type reference (TYPE) GRAC_T_ROLE_OUT Business Role Bucket 20121227
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Database session 20121227
3 Importing IV_CONNECTOR Call by reference Type reference (TYPE) GRFN_S_CCICONNECTOR Connector for a scenario and sub scenario 20121227
4 Importing LS_ROLE_DISPLAY Call by reference Type reference (TYPE) GRAC_S_CONFIG_PARAM_VALUE Config Param Value 20121227
5 Changing RT_ROLE_BUCKET Call by reference Type reference (TYPE) GRAC_T_ROLE_OUT Returning Roles Bucket 20121227

Method FILTER_BUSINESS_ROLES on class CL_GRAC_DT_USERROLES has no exception.

Method GET_ALL_PROFILES_FOR_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROFILES Value transfer Type reference (TYPE) GRAC_T_UI_MYPROFILE Table type for My Profile 20121026
2 Exporting EV_FLAG Call by reference Type reference (TYPE) GRAC_BOOLEAN Boolean 20121026
3 Importing IV_ENVIRONMENT Call by reference Type reference (TYPE) GRAC_SYS_TYPE System Environment 20130308
4 Importing IV_USER Call by reference Type reference (TYPE) GRAC_USER 20130201

Method GET_ALL_PROFILES_FOR_USER on class CL_GRAC_DT_USERROLES has no exception.

Method GET_ALL_ROLES_FOR_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROFILE Call by reference Type reference (TYPE) GRAC_T_UI_MYPROFILE Table type for My Profile 20121026
2 Exporting EV_FLAG Value transfer Type reference (TYPE) GRAC_BOOLEAN Table type for item data 20121026
3 Importing IV_ENVIRONMENT Call by reference Type reference (TYPE) GRAC_SYS_TYPE System Environment 20130308
4 Importing IV_USER Call by reference Type reference (TYPE) GRAC_USER User ID 20121127

Method GET_ALL_ROLES_FOR_USER on class CL_GRAC_DT_USERROLES has no exception.

Method GET_CALCULATED_ROLE_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROLE_VALIDITY Call by reference Type reference (TYPE) GRAC_T_API_ROLE_VALIDITY Role Connector (system) Validity 20130326
2 Changing LS_ROLE Call by reference Type reference (TYPE) GRAC_S_ROLE_OUT Structure to Role output for user store 20130326
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20130326

Method GET_CON_ENVIRONMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LT_CONN_ENVIRONMENTS Value transfer Type reference (TYPE) GRAC_T_CONNECTOR_DETAIL Connector details 20121026

Method GET_CON_ENVIRONMENTS on class CL_GRAC_DT_USERROLES has no exception.

Method GET_PROVISIONING_CONNECTORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_CONNECTOR Value transfer Type reference (TYPE) GRFN_T_CCICONNECTOR Connector list for scenario and sub scenario 20121026

Method GET_PROVISIONING_CONNECTORS on class CL_GRAC_DT_USERROLES has no exception.

Method GET_SEARCHED_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Value transfer Type reference (TYPE) STRING Table type for Role Search Result 20121026
2 Exporting ET_ITEM_DATA Call by reference Type reference (TYPE) GRAC_T_DT_UI_ITEM_DATA Table type for item data 20121026
3 Importing IV_ACTIONTYPE Call by reference Type reference (TYPE) GRAC_ACTIONTYPE Action Type 20121026
4 Importing LT_MYPROFILES Call by reference Type reference (TYPE) GRAC_T_UI_MYPROFILE Table type for My Profile 20121026
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20121026

Method GET_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20121026

Method GET_SESSION on class CL_GRAC_DT_USERROLES has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100