CoWorkUserProvider
public interface CoWorkUserProvider
Represents the user provider inerface in collabration mode.only available in java version now, will be available in .net/python version in future. Customer application can implement this interface to provide the user information.
Methods
| Method | Description |
|---|---|
| getCurrentUserId() | Gets the unique identifier of the current user |
| getCurrentUserName() | Gets the username of the current user |
| getPermission() | Gets the permission level of the current user |
getCurrentUserId()
public abstract long getCurrentUserId()
Gets the unique identifier of the current user
Returns: long - Current user ID
getCurrentUserName()
public abstract String getCurrentUserName()
Gets the username of the current user
Returns: java.lang.String - Current username
getPermission()
public abstract int getPermission()
Gets the permission level of the current user
Returns: int - CoWorkUserPermission. Current user permission level