# Confusion between Principal and Wallet ID

**URL:** <https://forum.dfinity.org/t/confusion-between-principal-and-wallet-id/4737>\
**Category:** Developers\
**Created:** [June 3, 2021, 8:48pm UTC](https://forum.dfinity.org/t/confusion-between-principal-and-wallet-id/4737 "2021-06-03T20:48:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seb](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/seb/32/10340_2.png) [@Seb](https://forum.dfinity.org/u/Seb)\
**Post date:** [June 3, 2021, 8:48pm UTC](https://forum.dfinity.org/t/confusion-between-principal-and-wallet-id/4737/1 "2021-06-03T20:48:09Z")

</div>

Hello 🙂  
I’ve run a simple WhoAmI canister, exacty like this one

> <https://github.com/krpeacock/auth-client-demo/blob/main/src/whoami/main.mo>

When I call the whoami function from the terminal with dfx I’m getting back the ID of the wallet associated with my identity and not the principal of my identity, it’s not what I expect reading from the documentation.

> **[The Internet Computer | Documentation](https://sdk.dfinity.org/docs/developers-guide/tutorials/access-control.html)**
>
> Documentation for the internet computer.

I’m confused, is it normal ?  
Dfx version 0.7.0

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 3, 2021, 8:57pm UTC](https://forum.dfinity.org/t/confusion-between-principal-and-wallet-id/4737/2 "2021-06-03T20:57:52Z")

</div>

In 0.7.0, are you doing `dfx canister call <id> whoami` in which case yes, you’ll see the principal of your wallet returned. This is because all `dfx canister call`s are proxied via your wallet canister. To get the principal of your selected identity returned, you’ll have to do `dfx canister --no-wallet call <id> whoami`  
This behavior (proxying via wallet by default) will change in the not-yet-promoted-to-latest 0.7.1  
There have been some docs changes pushed out the the docs article you linked in anticipation of 0.7.1  
I’ll make a forum post when we promote that to latest. In

---

<div class="post-metadata">

**Author:** ![Seb](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/seb/32/10340_2.png) [@Seb](https://forum.dfinity.org/u/Seb)\
**Post date:** [June 3, 2021, 9:10pm UTC](https://forum.dfinity.org/t/confusion-between-principal-and-wallet-id/4737/3 "2021-06-03T21:10:40Z")

</div>

Indeed it’s working with --no-wallet, thanks!
