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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Personal account for a...
Power Apps
Unanswered

Personal account for a user office365

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to use UserOffice365 to create a personal account for a user, so that the organization's members can add points. For example, a user has solved a test and this value is entered in the table (database) under their name. How to create this database and make the user log in to the mobile app and if the DisplayName in the database matches MyProfile ().DisplayName bind a condition to a text label?

Аннотация 2020-03-28 093112.png

Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @Anonymous ,

    So that I understand your requirements, are you asking for the user to see only records which are flagged as related to their login - presumably by a field in the data?

    I will give a short answer on this assumption - if this is your requirement, I am happy to explain further.

    Firstly the built-in functions User().Fullname and User().Email both allow the recording of this information in a record and can be tested at user login and used as a filter on what records are displayed. Also the fields Created by and Modified by if you are using SharePoint as a data source allow further management. 

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, Yes. This is my case. Tell us more about how to create this database and what value to assign to a text label.

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Thanks @Anonymous ,

    Firstly, you need to set a variable at App OnStart to avoid delegation issues with the User() function.

    Set(vUserName,User().FullName)

    Also note that User().FullName may not be unique in your organisation if two people have the same name, so you can consider using User().Email. This aside, I will describe a possible process with the full name (which is the display name you mentioned).

    When you are referring to create a database, you are simply creating a new record which will have a field with the user’s name in it. To do this, make the Default of the field vUserName, which is the Variable you have created above. When a new record is created, this value will be put in the field and I assume this is the text field you are referring to.

    If you want the user to see only their records in the future, simply filter on this field to show a list of items where the field value equals vUserName.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Please tell us in more detail, step by step. My knowledge of English is poor, so try to describe the process more simply. Thank you for your help! 🤔

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at
    Во-первых, вам нужно установить переменную в App OnStart, чтобы избежать проблем с делегированием с помощью функции User (). Set (vUserName, User (). FullName) Также обратите внимание, что User (). FullName может не быть уникальным в вашей организации, если два человека имеют одинаковые имена, поэтому вы можете рассмотреть возможность использования User (). Email. Помимо этого, я опишу возможный процесс с полным именем (это отображаемое имя). Когда вы имеете в виду создание базы данных, вы просто создаете новую запись, в которой будет поле с именем пользователя. Для этого установите значение по умолчанию для поля vUserName, которое является переменной, которую вы создали выше. Когда создается новая запись, это значение будет помещено в поле, и я предполагаю, что это текстовое поле, на которое вы ссылаетесь. Если вы хотите, чтобы в будущем пользователь видел только свои записи, просто отфильтруйте это поле, чтобы отобразить список элементов, значение поля которых равно vUserName.
    Firstly, you need to set a variable at App OnStart to avoid delegation issues with the User() function.
    
    Set(vUserName,User().FullName)
    Also note that User().FullName may not be unique in your organisation if two people have the same name, so you can consider using User().Email. This aside, I will describe a possible process with the full name (which is the display name you mentioned).
    
    When you are referring to create a database, you are simply creating a new record which will have a field with the user’s name in it. To do this, make the Default of the field vUserName, which is the Variable you have created above. When a new record is created, this value will be put in the field and I assume this is the text field you are referring to.
    
    If you want the user to see only their records in the future, simply filter on this field to show a list of items where the field value equals vUserName.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

    Hi @Anonymous ,

    I am not sure how to explain this more clearly.

    I assume your native tongue is Russian - this is from Google Translate please read this and try some of it - happy to help if you get stuck with code

    Я не уверен, как объяснить это более четко. Русский перевод (я предполагаю, что это ваш язык) ниже.
                          
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The database must have a column with all the members of the organization?

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I'm not clear about your issue.

    What is the data source of the app?

    What does the sentence mean that binds a condition to a text label?

    Could you please share more details about your requirement?

    Sik

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard