Knowledgebase:
UserHasPriv
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 08 May 2017 11:04 AM

Syntax

Readonly Property UserHasPriv(ByRef Privilege As VertexFXBOAPI.PrivsEnum) As Boolean

This property is used to know if the client has a privileges for the given privilage type or not.

Parameters

Part Description
Privilege  Privilege type , value of type PrivsEnum

Return value

 Returns true if client has privilege ,otherwise return false.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub HasPri_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HasPri.Click

    Dim Haspriv As Boolean

    Haspriv = BOAPI.UserHasPriv(PrivsEnum.OpenAccountsPriv)

    Msgbox(Haspriv)

 End Sub


See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions