Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Using API code how to confirm whether a User is in QC DB (QC Member) or not?

$
0
0
Something like this to check is user is a member of the Quality Center site(depends on the language you use of course):

Dim cust As Customization
Dim uList As CustomizationUsers

Set cust = TDConnection.Customization
Set uList = cust.Users

If Not uList.UserExistsInSite("<usernamecheckedtobechecked>") Then
msgbox "User does not exist in site"
End If

----

For checking if user is a member of a project, you need different code.

Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>