User Management Resource Administrator



Online Manual: "User Management Resource Adminstrator"
Go to: User Management Resource Administrator homepage

Script Action: Delete variable

Function

Delete a specific variable from the list with variables. If a the value of a variable is no longer valid, it might be a good idea to delete the variable so it can not accidentally be used in subsequent script actions.

Deployment

The execution of certain actions might invalidate the value of certain variables. To prevent incorrect usage of these variables, the variables can be deleted with this action. Example: Suppose a script is used to move a user account from one domain to another domain in the same forest. The target user account has a number of properties, for instance the Security Identifier (SID). The SID can be used in User Management to setup directory permissions. Now suppose the user account must be moved, and then the home directory must be moved to another location. For the new home directory, permissions must be setup. The script actions involved are:

Script action

Description

Get user (AD)

Bind to the user account. The user account and the security identifier are exported in variables (%UserObject%, (%UserSid%)

Move - rename user (AD)

Move the user account to the new domain in the same forest. The variable %UserSid% now becomes invalid since a new Security Identifier is generated for the moved user account.

Copy directory

Copy the original home directory to the new location and setup the new security settings using variable %UserSid%.

Delete directory

Delete the original home directory.

In this example, the variable %UserSid% is no longer valid, once the user is moved and cannot be used to setup the new security settings for the target home directory. Instead, the variable %UserSid% should be deleted. Then a new Get user (AD) action should be used to determine the new value of the SID.

In more complicated scripts, you might want to delay certain operations. For instance before an operation is retried or to limit network load. For this purpose, this action can be used. The action simply suspends the script for the specified time. Note that during this time, the script cannot be aborted.

Properties

Property Name

Description

Typical setting

Remarks

Variable

The name of the variable to be deleted.

 

 

More information:
Principle of operation

Project operations - Input data

Project operations - Manage script actions

Project operations - Variables

Help on help

 

 




Home | Products | Support | Pricing | Download | Press | About Us | Contact | Sitemap
QUICK LINKS: Mass / Bulk Import Software | Network Monitoring Software | Disk Quota Management
QUICK LINKS: User and Active Directory Management | Remote Desktop Control | Free Software