/AWS1/CL_APS=>UPDATEDIRECTORYCONFIG()
¶
About UpdateDirectoryConfig¶
Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_directoryname
TYPE /AWS1/APSDIRECTORYNAME
/AWS1/APSDIRECTORYNAME
¶
The name of the Directory Config object.
Optional arguments:¶
it_orgalunitdistinguishedn00
TYPE /AWS1/CL_APSORGALUNITDISTING00=>TT_ORGALUNITDISTINGUISHEDNAM00
TT_ORGALUNITDISTINGUISHEDNAM00
¶
The distinguished names of the organizational units for computer accounts.
io_serviceaccountcredentials
TYPE REF TO /AWS1/CL_APSSVCACCOUNTCREDS
/AWS1/CL_APSSVCACCOUNTCREDS
¶
The credentials for the service account used by the fleet or image builder to connect to the directory.
io_certbasedauthproperties
TYPE REF TO /AWS1/CL_APSCERTBASEDAUTHPRPS
/AWS1/CL_APSCERTBASEDAUTHPRPS
¶
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_apsupdirectorycfgrs
/AWS1/CL_APSUPDIRECTORYCFGRS
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_aps~updatedirectoryconfig(
io_certbasedauthproperties = new /aws1/cl_apscertbasedauthprps(
iv_certificateauthorityarn = |string|
iv_status = |string|
)
io_serviceaccountcredentials = new /aws1/cl_apssvcaccountcreds(
iv_accountname = |string|
iv_accountpassword = |string|
)
it_orgalunitdistinguishedn00 = VALUE /aws1/cl_apsorgalunitdisting00=>tt_orgalunitdistinguishednam00(
( new /aws1/cl_apsorgalunitdisting00( |string| ) )
)
iv_directoryname = |string|
).
This is an example of reading all possible response values
lv_directoryname = lo_directoryconfig->get_directoryname( ).
LOOP AT lo_directoryconfig->get_orgalunitdistinguished01( ) into lo_row.
lv_organizationalunitdisti = lo_row_1->get_value( ).
ENDLOOP.
lv_accountname = lo_serviceaccountcredentia->get_accountname( ).
lv_accountpassword = lo_serviceaccountcredentia->get_accountpassword( ).
lv_timestamp = lo_directoryconfig->get_createdtime( ).
lv_certificatebasedauthsta = lo_certificatebasedauthpro->get_status( ).
lv_arn = lo_certificatebasedauthpro->get_certificateauthorityarn( ).