SOLIDWORKS PDM Professional API Help Send Feedback
HasSysRightEx Method (IEdmUserGroup6)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmUserGroup6 Interface : HasSysRightEx Method (IEdmUserGroup6)


eRight
Permission to check as defined in EdmSysPerm
Gets whether this user group has the specified permission.

Syntax

Visual Basic 
Function HasSysRightEx( _
   ByVal eRight As EdmSysPerm _
) As System.Boolean
C# 
System.bool HasSysRightEx( 
   EdmSysPerm eRight
)
C++/CLI 
System.bool HasSysRightEx( 
&   EdmSysPerm eRight
) 

Parameters

eRight
Permission to check as defined in EdmSysPerm

Return Value

True if the user group has the specified permission, false if not

Example

Remarks

This method supersedes IEdmUserGroup5::HasSysRight, which checked system permissions represented as bit flags that could be ORed together. As of SOLIDWORKS PDM Professional 2010, new permissions are represented as sequentially numbered constants that cannot be ORed together. You must call this method once for each permission you want to check.

Return codes: 

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional 2010