|
Subject: [xsl] Querying an Active Directory memberOf Attribute From: "Cailo ." <frenzal68@xxxxxxxxxxx> Date: Tue, 01 Aug 2006 16:48:21 +1000 |
<xsl:template match="rf:attr[@name='memberOf']">
<attr name="GroupID">
<value>
<xsl:variable name="group" select="*" />
<xsl:choose>
<xsl:when test="contains($group,'Group_1')">100663298</xsl:when>
<xsl:when test="contains($group,'Group_2')">100663299</xsl:when>
<xsl:otherwise><xsl:value-of select="100663296" /></xsl:otherwise>
</xsl:choose>
</value>
</attr>
</xsl:template>Dim strGroups
If IsArray(varProp) Then
strGroups = (Join(varProp))
If (InStr(strGroups, "CN=Group_1") > 0 ) Then
objUser.IsUnprotected = 0
objUser.GroupID="Orlando"
End If
End If| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Thread | RE: [xsl] Querying an Active Direct, Michael Kay | |
| Date | [xsl] Re Re: [xsl] Disapearing spac, Stan Smeets | |
| Month |