Click or drag to resize

IAssociateUserLevel Property

OBSOLETE

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
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
short UserLevel { get; }

Property Value

Type: Int16
Integer – the user level
Examples

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).

VB
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

See Also