| Visual Basic | |
|---|---|
Sub GetFolderPermissions( _ ByVal lOwnerID As System.Integer, _ ByVal meOwnerType As EdmObjectType, _ ByVal lFolderID As System.Integer, _ ByVal lEdmGetPermFlags As System.Integer, _ ByRef ppoPermissions() As EdmFolderPermission _ ) | |
| C# | |
|---|---|
void GetFolderPermissions( System.int lOwnerID, EdmObjectType meOwnerType, System.int lFolderID, System.int lEdmGetPermFlags, out EdmFolderPermission[] ppoPermissions ) | |
| C++/CLI | |
|---|---|
void GetFolderPermissions( & System.int lOwnerID, & EdmObjectType meOwnerType, & System.int lFolderID, & System.int lEdmGetPermFlags, & [Out] array<EdmFolderPermission>^ ppoPermissions ) | |
Parameters
- lOwnerID
- ID of the user or group for which to get permissions; 0 to return permissions for all users and groups
- meOwnerType
- Type of lOwnerID as defined in EdmObjectType
- lFolderID
- ID of folder for which to get permissions
- lEdmGetPermFlags
- Combination of EdmGetPermFlag bits (see Remarks)
- ppoPermissions
- Array of EdmFolderPermission structures; one structure for each permission
See the IEdmUserMgr7 examples.
This method returns not only permissions explicitly set on a folder, but also permissions inherited from parent folders, depending on the combination of EdmGetPermFlag bits in lEdmGetPermFlags.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010