Forum Discussion

MDPF52_180608's avatar
MDPF52_180608
Icon for Nimbostratus rankNimbostratus
Jun 15, 2015

APM Insert HTTP Header

Hello DevCentral,

 

How I can insert the Active directory Attribute "UserPrincipalName" of the authenticated user (AD AUTH) in a HTTP Header in the event ACL_ALLOWED ? In order to pass it to the backend.

 

Thanks in advance,

 

Best Regards,

 

M.

 

1 Reply

  • I think you can access the

    HTTP::header
    command in that event, so you should be able to add it using the command
    HTTP::header insert name HeaderName value [ACCESS::session data get session.ad.last.attr.userPrincipalName]
    .