Staci, If I have understood your question right, - Get the current logged in user id using ' UserInfo.GetUserId' method. - Then get the contact ID from 'User' object using user id. -Finally get the account name (Account.Name) from Contact table using the contact id you got from user table.
Please mark it best answer if it answers your question
If I have understood your question right,
- Get the current logged in user id using ' UserInfo.GetUserId' method.
- Then get the contact ID from 'User' object using user id.
-Finally get the account name (Account.Name) from Contact table using the contact id you got from user table.
Please mark it best answer if it answers your question