
$User.Id can be used in Salesforce Validation Rules for the current running user ID.
Sample Validation Rule:
AND(
ISNEW(),
$User.Id != Account.OwnerId
)

Output:

$User.Id can be used in Salesforce Validation Rules for the current running user ID.
Sample Validation Rule:
AND(
ISNEW(),
$User.Id != Account.OwnerId
)
Output: