USERNAME
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Returns the domain name and username from the credentials given to the system at connection time.
Syntax
USERNAME()
Parameters
This expression has no parameters.
Return value
The username from the credentials given to the system at connection time
Example
The following formula verifies if the user login is part of the UsersTable.
= IF(CONTAINS(UsersTable,UsersTable[login], USERNAME()), "Allowed", BLANK())
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet