web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : VtiqjtRZgzhR9KJm8OJy7U
Power Apps - Building Power Apps
Unanswered

Hello everyone, I am looking for constant user name to set in canvas app instead of "User()FullName"

Like (0) ShareShare
ReportReport
Posted on 11 Jun 2024 06:29:21 by 2

I need help to set fix user name for canvas app.

If i use "User().Fullname" thats giving me current logged in user to application.

I dont want to get current logged in user name. I want current user with fix name.

Please help me on this.

 

Thanks in advance. 

  • Meekou Profile Picture
    on 11 Jun 2024 at 07:43:02
    Re: Hello everyone, I am looking for constant user name to set in canvas app instead of "User()FullName"

    For customing the User Name function, you could try user defined function like below:

    Entering code below to App.Formula

    Meekou_0-1718091740425.png

     


    Best Regards,

    Meekou

    YouTube

    PowerApps

    PowerAutomate

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on 11 Jun 2024 at 07:05:23
    Re: Hello everyone, I am looking for constant user name to set in canvas app instead of "User()FullName"

    have you Run OnStart after the variable declaration if not do it click on the triple dot preset on the App then click on Run OnStart.

  • ArifTamboli Profile Picture
    2 on 11 Jun 2024 at 06:59:56
    Re: Hello everyone, I am looking for constant user name to set in canvas app instead of "User()FullName"

    Hi, thank for quick reply.

    I have user solution mentioned above but its not helping.

    It is giving bank value.

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on 11 Jun 2024 at 06:35:50
    Re: Hello everyone, I am looking for constant user name to set in canvas app instead of "User()FullName"

    hi @ArifTamboli ,

    I am assuming you want to store static user name for this you can use:

     

    • Go to the App section in the tree view.
    • Select OnStart property.
    • Set a variable with the fixed user name.

     

     

    Set(FixedUserName, "John Doe")

     

     


    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete