faradhi
Registered User.
- Local time
- Today, 20:46
- Joined
- Mar 7, 2002
- Messages
- 13
I have this function code that I know will not work. What I hope to accomplish is that the function is passed the property name and it returns a propery value.
Code:
Function GetProp(StrPropName As String, StrLDAP As String)
Dim Objuser As Object
'Opens the LDAP object for the active directory user
Set Objuser = GetObject(StrLDAP)
GetProp = Objuser.StrPropName
End Function