| Visual Basic | |
|---|---|
Sub GetStatePermissions( _ ByVal lOwnerID As System.Integer, _ ByVal meOwnerType As EdmObjectType, _ ByVal lStateID As System.Integer, _ ByRef ppoPermissions() As EdmStatePermission _ ) | |
| C# | |
|---|---|
void GetStatePermissions( System.int lOwnerID, EdmObjectType meOwnerType, System.int lStateID, out EdmStatePermission[] ppoPermissions ) | |
| C++/CLI | |
|---|---|
void GetStatePermissions( & System.int lOwnerID, & EdmObjectType meOwnerType, & System.int lStateID, & [Out] array<EdmStatePermission>^ 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; valid only if lOwnerID is not 0
- lStateID
- ID of state for which to get permissions; 0 to return permissions for all states
- ppoPermissions
- Array of EdmStatePermission structures; one structure for each permission assignment
See the IEdmUserMgr9 examples.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2017