Power app – Lấy thông tin profile trong

Power app – Lấy thông tin profile trong

April 3, 2021 0 By Nam Vu

Lấy thông tin profile office 365

Office365Users.UserProfile(User().Email).Department
Office365Users.UserProfile(User().Email).CompanyName

Office365Users.Manager(User().Email).JobTitle
Office365Users.Manager(Office365Users.Manager(Office365Users.MyProfile().Mail).Mail).Mail
Set(FirstPersonOfDept, User().Email);  
ClearCollect(Employee, Office365Users.UserProfile(FirstPersonOfDept));  
ClearCollect(PreviousEmployee, Employee);  
Clear(Manager);