Skip to content

Commit a8907a0

Browse files
Create description.md
1 parent ce5fb0b commit a8907a0

File tree

1 file changed

+38
-0
lines changed
  • User Profiles/Get MUI Languages for multiple users using REST

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
The script retrieves a SPS-MUILanguages property for specified SharePoint Online users.
2+
3+
4+
5+
The script uses the following endpoint to retrieve a user property:
6+
7+
/getuserprofilepropertyfor(accountname=@v, propertyname='<property name>')?@v='<account name>'
8+
9+
10+
11+
For more details, please consult:
12+
13+
User profiles REST API reference
14+
15+
16+
17+
18+
19+
### How to use?
20+
21+
22+
Download, open the script and enter correct values in the following lines:
23+
24+
PowerShell
25+
#Enter the data
26+
$AdminPassword=Read-Host -Prompt "Enter password" -AsSecureString
27+
$username="t@t321.onmicrosoft.com"
28+
$Url="https://t321.sharepoint.com"
29+
30+
31+
$userLogins=("t@t321.onmicrosoft.com","user1@t321.onmicrosoft.com","user2@t321.onmicrosoft.com","user5@t321.onmicrosoft.com","yasen@t321.onmicrosoft.com")
32+
33+
Expected results
34+
35+
36+
37+
38+

0 commit comments

Comments
 (0)