Skip to main content
Skip table of contents

SelectedEditOnPremUser: Edit On-Prem User

Tag: SelectedEditOnPremUser

The SelectedEditOnPremUser function automates the action of editing the properties of the On Premises users selected in the grid.


XML
<SelectedEditonPremUser KeepAlive="True"/>


Tag Attributes

AttributesAttribute Value
KeepAliveTRUE (keeps dialog open) / FALSE (Defaults to FALSE)


Detailed Description

Inside the SelectedEditOnPremUser tag, set one SetParam for each value to be written for the new user.

Field names (for Field="..." in SetParam):

Field names are column IDs:

onPremAccountExpirationDate
onPremAccountNotDelegated
onPremAccountPassword
onPremAllowReversiblePasswordEncryption
onPremCannotChangePassword
onPremChangePasswordAtLogon
onPremCity
onPremCompany
onPremCompoundIdentitySupported
onPremCountry
onPremDepartment
onPremDescription
onPremDisplayName
onPremDivision
onPremEmailAddress
onPremEmployeeID
onPremEmployeeNumber
onPremEnabled
onPremFax
onPremGivenName
onPremHomeDirectory
onPremHomeDrive
onPremHomePage
onPremHomePhone
onPremInitials
onPremKerberosEncryptionType
onPremLogonWorkstations
onPremManager
onPremMobilePhone
onPremOffice
onPremOfficePhone
onPremOrganization
onPremOtherName
onPremPasswordNeverExpires
onPremPasswordNotRequired
onPremPOBox
onPremPostalCode
onPremProfilePath
onPremProxyAddresses
onPremScriptPath
onPremSmartcardLogonRequired
onPremState
onPremStreetAddress
onPremSurname
onPremTitle
onPremTrustedForDelegation
onPremUserPrincipalName
onPremmsDS-cloudExtensionAttribute1
onPremmsDS-cloudExtensionAttribute2
onPremmsDS-cloudExtensionAttribute3
onPremmsDS-cloudExtensionAttribute4
onPremmsDS-cloudExtensionAttribute5
onPremmsDS-cloudExtensionAttribute6
onPremmsDS-cloudExtensionAttribute7
onPremmsDS-cloudExtensionAttribute8
onPremmsDS-cloudExtensionAttribute9
onPremmsDS-cloudExtensionAttribute10
onPremmsDS-cloudExtensionAttribute11
onPremmsDS-cloudExtensionAttribute12
onPremmsDS-cloudExtensionAttribute13
onPremmsDS-cloudExtensionAttribute14
onPremmsDS-cloudExtensionAttribute15
onPremmsDS-cloudExtensionAttribute16
onPremmsDS-cloudExtensionAttribute17
onPremmsDS-cloudExtensionAttribute18
onPremmsDS-cloudExtensionAttribute19
onPremmsDS-cloudExtensionAttribute20
onPremotherMailbox

Example Script


XML
<ytriaAutomation Application="sapio365">
	<list name="UserList" Action="setVar" Pname="John Buchanan"/>		
	<ShowUsers>
		<LoadOnPremUsers/>
		<SelectFromList ListName="UserList">
			<SetParam ColumnID="commonDisplayName" Value="Pname"/>
		</SelectFromList>
		<SelectedEditonPremUser >
			<SetParam Field="onPremCompany" Value="Ytria"/>
			<SetParam Field="onPremDepartment" Value="Sales"/>
			<SetParam Field="onPremOfficePhone" Value="5148442373"/>
		</SelectedEditonPremUser>		
		<Save/>
		<SyncCloudOnPrem/>
	</ShowUsers>	
</ytriaAutomation>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.