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())
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho