Forum Discussion
namratapawale
7 years agoFrequent Visitor
Retrieve username from current data connection
Hi, I have a use case where I'm writing a custom M function that requires the username from the current data connector's connection. For example, I am connected to Teradata database using teradat...
- 7 years ago
By design (and for security reasons), it is not possible for queries to access credential information.
ImkeF
7 years agoCommunity Champion
I'm not familiar with this function. If nothing comes up here, I'd suggest asking on GitHub instead: https://github.com/Microsoft/DataConnectors/issues
namratapawale
7 years agoFrequent Visitor
Hi ImkeF,
Thanks for the reply!
Extension.CurrentCredential() is mentioned in here in Data Connectors documentation:
Sure, I'll post this question on GitHub too.
Thanks,
Namrata.
- curth7 years agoPower BI Team
By design (and for security reasons), it is not possible for queries to access credential information.