Summary: When creating or updating a new user account with Cayosoft Administrator Web UI, attributes that are not displayed on the user Web UI form can be automatically set by AD Users | Set Attribute Value rule that should be created and linked to the corresponding web action in a Rules to run after this rule section.
This rule contains step-by-step instructions on how to:
- Set msRTCSIP-PrimaryUserAddress attribute when an Active Directory user is renamed in Cayosoft Administrator Web UI.
- Append Ticket, Comment, and Termination date to Info attribute when an Active Directory user is suspended.
Note: 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.
ID: KB20210215-1
Set attribute value when AD user is renamed
Create rule AD Users | Set Attribute Value to set the target attribute value
- In Admin Console create 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 Admin Console navigate to Home > Configuration > Web Portal > Web Actions > Active Directory > Rename User
- Enable editing in Design Mode, see the KB for details
- Click 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
- Save changes
Append attribute value when AD user is suspended
Create rule AD Users | Set Attribute Value to set the target attribute value
- In Admin Console create 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 Admin Console navigate to Home > Configuration > Web Portal > Web Actions > Active Directory > Suspend User
- Perform steps that are described in the previous section.
Comments
0 comments
Please sign in to leave a comment.