![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | GetAllAppFun (LONG dwMachineNumber, BSTR *AppName, BSTR *FunofAppName) |
VARIANT_BOOL | GetAllRole (LONG dwMachineNumber, BSTR *RoleName) |
VARIANT_BOOL | GetAppOfRole (LONG dwMachineNumber, LONG Permission, BSTR *AppName) |
VARIANT_BOOL | GetFunOfRole (LONG dwMachineNumber, LONG Permission, BSTR *FunName) |
VARIANT_BOOL | SetPermOfAppFun (LONG dwMachineNumber, LONG Permission, BSTR AppName, BSTR FunName) |
VARIANT_BOOL | DeletePermOfAppFun (LONG dwMachineNumber, LONG Permission, BSTR AppName, BSTR FunName) |
VARIANT_BOOL | IsUserDefRoleEnable (LONG dwMachineNumber, LONG Permission, VARIANT_BOOL *Enable) |
VARIANT_BOOL GetAllAppFun | ( | LONG | dwMachineNumber, |
BSTR * | AppName, | ||
BSTR * | FunofAppName | ||
) |
To query all App names, all App and corresponding Fun names.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetAllRole | ( | LONG | dwMachineNumber, |
BSTR * | RoleName | ||
) |
To query all role names and the corresponding permission names.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetAppOfRole | ( | LONG | dwMachineNumber, |
LONG | Permission, | ||
BSTR * | AppName | ||
) |
To query all App names with specified role permission.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetFunOfRole | ( | LONG | dwMachineNumber, |
LONG | Permission, | ||
BSTR * | FunName | ||
) |
To query all function names with the specified role permission.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetPermOfAppFun | ( | LONG | dwMachineNumber, |
LONG | Permission, | ||
BSTR | AppName, | ||
BSTR | FunName | ||
) |
To set the corresponding permission of function and App meanwhile.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DeletePermOfAppFun | ( | LONG | dwMachineNumber, |
LONG | Permission, | ||
BSTR | AppName, | ||
BSTR | FunName | ||
) |
To delete the corresponding permission of function and App meanwhile.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL IsUserDefRoleEnable | ( | LONG | dwMachineNumber, |
LONG | Permission, | ||
VARIANT_BOOL * | Enable | ||
) |
To judge whether the user defined role is enabled.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |