How to get actor ID Name in c++

Thank you very much. it worked!