How to set attribute value when an Active Directory user is updated in Web Portal
Summary: When creating or updating a new user account with Web Portal, attributes that are not displayed on the user Web Portal form can be automatically set by the AD Users | Set Attribute Value rule that should be created and linked to the corresponding web action in the Rules to run after this rule section.
This rule contains step-by-step instructions on how to:
Set the msRTCSIP-PrimaryUserAddress attribute when an Active Directory user is renamed in the Web Portal.
Append Ticket, Comment, and Termination date to Info attribute when an Active Directory user is suspended.
You can use the following properties with $FoundObject:
Active Directory User properties.
Virtual attributes.
Special properties like Ticket and Comment.
Applies to: Cayosoft Administrator 7.x or later.
Set attribute value when AD user is renamed
Create rule AD Users | Set Attribute Value to set the target attribute value
In the Cayosoft Administrator Console, create the AD Users | Set Attribute Value rule.
-
Modify the rule settings:
Query Criteria: ObjectGUID of User Created in Web UI
Attribute(s): msRTCSIP-PrimaryUserAddress
Value: $("sip:"+$FoundObject.UserPrincipalName)
Save changes.
Add created rule to Rename User web action, to the Rules to Run After section
In the Cayosoft Administrator Console, navigate to Configuration > Web Portal > Web Actions > Active Directory > Rename User.
Enable editing in Design Mode, see the following article for details: Design Mode.
Click the Action tab.
Open Rules to run after this rule section.
Click Add.
Select created AD Users | Set Attribute Value rule from the list.
Click Ok and save changes.
Append attribute value when AD user is suspended
In the Cayosoft Administrator Console, create the AD Users | Set Attribute Value rule.
-
Modify the rule settings:
Query Criteria: ObjectGUID of User Created in Web UI
Attribute(s): info
Value: $($FoundObject.info + “$($Ticket) - Termination $([DateTime]::Now) – $UserComment”)
Properties to display: add info attribute to the list
Save changes.
Add created rule to Suspend User web action, to the Rules to Run After section
In the Cayosoft Administrator Console, navigate to Configuration > Web Portal > Web Actions > Active Directory > Suspend User.
Perform steps that are described in the previous section: Append attribute value when AD user is suspended.
Comments
0 comments
Please sign in to leave a comment.