| Visual Basic | |
|---|---|
Sub HasRights( _ ByVal lRights As System.Integer, _ ByRef plFileID As System.Integer _ ) | |
Parameters
- lRights
- Combination of EdmRightFlags bits
- plFileID
- ID of file to check
This method is superseded by IEdmFolder5::HasRightsEx, which provides the ability to check rights on just this folder. Programs that do not need backwards compatibility with SOLIDWORKS PDM Professional 5.2 should use the new method.
This method takes into account both the rights set explicitly on the user and those rights that are inherited from groups of which the user is a member.
- S_OK: The method successfully executed.
- E_EDM_PERMISSION_DENIED: The user lacks one or more of the specified rights.
SOLIDWORKS PDM Professional Version 5.2