Tag: SelectedEditUser

The SelectedEditUser function automates the action of editing the information of users selected in the grid.


<SelectedEditUser>
	<SetParam Field="userDisplayName" Value="Jean-Luc"/>
	<SetParam Field="username-name" Value="JeanLuc"/>
	<SetParam Field="username-domain" Value="M365.YTRIA.nEt"/>
	<SetParam Field="signinStatus" Value="false"/>
	<SetParam Field="passwordPolicies" Value="DisablePasswordExpiration"/>
</SelectedEditUser>
XML

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
KeepAliveTRUE (keeps dialog open) / FALSE - defaults
to FALSE
N/AN/A
To set a DATE fieldUse ISO format YYYY-MM-DD (without time or
any other decoration).
N/AN/A

user-edit-selected

SetParam

  • UserDisplayName
  • Username-name
  • Username-domain
  • SigninStatus
  • IsResourceAccount
  • FirstName
  • LastName
  • PreferredLanguage
  • UsageLocation
  • PreferredDataLocation
  • ShowInAddressList


edit-user-basic-information


emailNickname

edit-user-mail-configuration


  • EmployeeID
  • JobTitle
  • Department
  • MobilePhone
  • FaxNumber
  • OfficeLocation
  • StreetAddress
  • City
  • State
  • PostalCode
  • Country


edit-user-job-information


  • PersonnalSite
  • PasswordPolicies
  • About
  • Birthday
  • HireDate


edit-user-more-information

Detailed Descriptions

SelectedEditUser opens the Edit dialog to assign new attributes to users selected in the grid. It does this by using the SetParam actions you set for each user.

A grid selection is still required, just as it's required if using this function manually.

Example Script

<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam ColumnID="userPrincipalName" Value="AnnaL@M365x308674.onmicrosoft.com"/>
	</Select>
	<SelectedEditUser>
		<SetParam Field="userDisplayName" Value="Jean-Luc"/>
		<SetParam Field="username-name" Value="JeanLuc"/>
		<SetParam Field="username-domain" Value="M365.YTRIA.nEt"/>
		<SetParam Field="signinStatus" Value="false"/>
		<SetParam Field="passwordPolicies" Value="DisablePasswordExpiration"/>
	</SelectedEditUser>
	<SaveSelected/>
</ytriaAutomation>
XML