Anonymous_User Absent Member.
Absent Member.
924 views

SDK - Group $McsMembers property


I see this listed in the schema access db in the SDK. When i try to use
it though it tells me the property cannot be found:

-
oUser.getInfoEx
Array("$McsClass","$McsNumberMembers","$McsPath","$McsMembers"),cint(0)

logInfo "Account membership retrieved from DRA ADSI"
iNoMembers = oUser.get("$McsNumberMembers")
If iNoMembers <> 0 Then
For Each a In oUser.getex("$McsMembers")
sMembers = a.AdsPath & ";" & sMembers
Next

End If-

is this a valid property to use with the ADSI provider?


--
shocko
------------------------------------------------------------------------
shocko's Profile: https://forums.netiq.com/member.php?userid=5104
View this thread: https://forums.netiq.com/showthread.php?t=52364

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: SDK - Group $McsMembers property


Shocko,

These are all valid attributes. i can see it in the schema file. If
you go into the Schema directory under the DRA install directory, you
can see the schema csv file. I am not sure of the syntax of ADSI and
would have to look. i know you can get to them using Varset submit
method.

s

dim vsInput
dim ea
set ea = CreateObject("EaServer.EaServe.1")
set vsInput = CreateObject("NetIQDraVarSet.VarSet.1")

vsInput.put "Client.Version.Build", CLng(2)
vsInput.put "Client.Version.Major", CLng(8)
vsInput.put "Client.Version.Minor", CLng(70)
vsInput.put "Client.Version.Release", CLng(172)
vsInput.put "Group",
"OnePoint://CN=Accounting-DG,OU=Accounting,OU=Warsaw,OU=Employees,OU=Corp,DC=ad,DC=utopia,DC=netiq,DC=com"
vsInput.put "Hints",
Array("$McsPath","$McsClass","$McsIsObjectManaged","$McsIsContainerInteresting","$McsObjectClass","$McsFriendlyName","$McsFriendlyPath","$McsHasMailbox","AccountDisabled","sAMAccountName","MailboxType","groupType","isDynamic","$McsType","$McsTypeDom","$McsAvailable","$McsIsManaged","$McsComputerDisplayName","$McsTypeDescription","$McsNameValue","$McsDnsName","Name","Status","description","Info","$McsDisplayName","$McsFriendlyParentPath")
vsInput.put "LocaleID", CLng(1033)
vsInput.put "OperationName", "GroupMemberEnum"
vsInput.put "ResumeStr", ""
vsInput.put "Scope", CLng(0)
vsInput.put "nextrows", CLng(250)

'Submit the varset to EAServer
set vsOut = ea.ScriptSubmit(vsInput)






im vsInput
dim ea
set ea = CreateObject("EaServer.EaServe.1")
set vsInput = CreateObject("NetIQDraVarSet.VarSet.1")

vsInput.put "Client.Version.Build", CLng(2)
vsInput.put "Client.Version.Major", CLng(8)
vsInput.put "Client.Version.Minor", CLng(70)
vsInput.put "Client.Version.Release", CLng(172)
vsInput.put "Group",
"OnePoint://CN=Accounting-DG,OU=Accounting,OU=Warsaw,OU=Employees,OU=Corp,DC=ad,DC=utopia,DC=netiq,DC=com"
vsInput.put "LocaleID", CLng(1033)
vsInput.put "OperationName", "GroupGetInfo"
vsInput.put "Properties.$McsFriendlyName", ""
vsInput.put "Properties.$McsFriendlyPath", ""
vsInput.put "Properties.$McsIsNT4", ""
vsInput.put "Properties.$McsNumberMembers", ""
vsInput.put "Properties.$McsNumberMemberships", ""
vsInput.put "Properties.$McsTypeDom", ""
vsInput.put "Properties.description", ""
vsInput.put "Properties.groupType", ""
vsInput.put "Properties.isDynamic", ""
vsInput.put "Properties.managedBy", ""
vsInput.put "Properties.sAMAccountName", ""
vsInput.put "Properties.sAMAccountType", ""
vsInput.put "VisibleProperties", true

'Submit the varset to EAServer
set vsOut = ea.ScriptSubmit(vsInput)


--
jacksonse
------------------------------------------------------------------------
jacksonse's Profile: https://forums.netiq.com/member.php?userid=4587
View this thread: https://forums.netiq.com/showthread.php?t=52364

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SDK - Group $McsMembers property


Hi Sean, thanks for the reply. I am using the ADSI provider though not
the VarSet. Also, is there any better documentation for the SDK/Varset?
The .chm file that comes with the SDK is not very good I find. 😞


--
shocko
------------------------------------------------------------------------
shocko's Profile: https://forums.netiq.com/member.php?userid=5104
View this thread: https://forums.netiq.com/showthread.php?t=52364

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.