Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Qvmaster2019
Creator
Creator

Creating a table based on Custom Function

I have a custom function i want to place in a certain table.

I am hoping that the table would be something like this:

Users

v0001

v3002

v8003

.

.

.

v1039

.

.

The custom function is:

 

Function MainMember(X)

strComputer = "cmhveyqlikview"
Set colGroups = GetObject("WinNT://" & strComputer & "")
colGroups.Filter = Array("group")

For Each objGroup In colGroups
if objGroup.Name = "QlikView Administrators" then
For Each objUser in objGroup.Members
MainMember=objUser.Name
Next
end if
Next

End Function

0 Replies