SHARE_ROLE enumeration
Specifies the access permissions assigned to the Users or Public folder. Used in CreateShare and GetSharePermissions.
Syntax
typedef enum SHARE_ROLE { SHARE_ROLE_INVALID = -1, SHARE_ROLE_READER = 0, SHARE_ROLE_CONTRIBUTOR = 1, SHARE_ROLE_CO_OWNER = 2, SHARE_ROLE_OWNER = 3, SHARE_ROLE_CUSTOM = 4, SHARE_ROLE_MIXED = 5 } SHARE_ROLE;
Constants
- SHARE_ROLE_INVALID
-
The folder is not shared.
- SHARE_ROLE_READER
-
The contents of the folder can be read, but not altered or added to.
- SHARE_ROLE_CONTRIBUTOR
-
The contents of the folder can be read and altered. New items can be added, however items can be deleted only by the user that contributed them.
- SHARE_ROLE_CO_OWNER
-
The contents of the folder can be read, changed, or added to.
- SHARE_ROLE_OWNER
-
Not normally used in the context of this interface.
- SHARE_ROLE_CUSTOM
-
The folder is shared, but the share role is neither SHARE_ROLE_READER, SHARE_ROLE_CONTRIBUTOR, or SHARE_ROLE_CO_OWNER.
- SHARE_ROLE_MIXED
-
Not used in the context of this interface.
Remarks
ISharingConfigurationManager::CreateShare accepts only SHARE_ROLE_READER and SHARE_ROLE_CO_OWNER. All other values are seen only in the results of ISharingConfigurationManager::GetSharePermissions.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Send comments about this topic to Microsoft
Build date: 11/28/2012