public interface IShareInfo
Modifier and Type | Field and Description |
---|---|
static int |
DENY_ALL
Disables all rights to the workspace
|
static int |
FULL_CONTROL
Grants full control of the workspace.
|
static int |
MODIFY
Grants rights to modify the workspace.
|
static int |
VIEW_ONLY
Enables view rights but denies modification rights to the workspace
|
Modifier and Type | Method and Description |
---|---|
String |
getPrincipalID()
Gets the ID of the user or role that is granted rights by the share.
|
int |
getPrivilege()
Gets the privilege level granted by this share, see Rights Levels.
|
void |
setPrincipalID(String principalID)
Sets the ID of the user or role that is granted rights by the share.
|
void |
setPrivilege(int privilege)
Sets the privilege level granted by this share, see Rights Levels.
|
static final int DENY_ALL
static final int VIEW_ONLY
static final int MODIFY
static final int FULL_CONTROL
String getPrincipalID()
void setPrincipalID(String principalID)
principalID
- the principal ID as String.int getPrivilege()
void setPrivilege(int privilege)
privilege
- The privilege level to grant for this share.