IAssociateUserLevel Property |
Obsolete - from SIX we use roles. The associates userlevel, the same as set in the admin client.
UserLevel:
0=admin 1=full access 2=group 3=group-read 4=own 5=read-only contacts+projects.
Namespace: SuperOffice.COM.SuperOfficeDB
Get userlevel
This text may be copied to the notepad, and saved as a *.vbs file. You need a running CRM 5 to make it work. (This example uses the SuperOffice COM application library and not the SuperOffice db library interface).
dim objso set objso = CreateObject("superoffice.application") If not (objSO is nothing) then MsgBox "Our contact on current contact has Userlevel: " & objSO.CurrentContact.Associate.UserLevel, vbInformation + vbOKOnly, "Associate UserLevel" else msgbox "unable to connect" end if set objso = nothing