This recipe describes how to format a group type in Service Panel so that it displays in a user friendly format instead of the numeric value in AD.
Use the GroupType(value) and GroupScope(value) functions from the AD Functions help section to convert numeric values into user friendly group types.
Group Type returns Global, Universal, or DomainLocal and GroupScope returns Distribution or Security.
Combine the result with a replace string to produce the friendlier value "Domain Local".
For example:
ReplaceString(GroupScope(Attributes.groupType), "DomainLocal", "Domain Local")
+ " " + GroupType(Attributes.groupType)
Comments
0 comments
Please sign in to leave a comment.