Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Set Property Object, Error -17335

$
0
0

I'm trying to write a sequence that'll help me set privileges for new groups. Whenever I run my sequence, I get the following error: 

-17335; Property object cannot be added.

 

All I'm doing in my sequence is:

  1. Creating a new user
  2. Setting the name
  3. Setting the privilege using the SetPropertyObject method

I've attached a snippet of my sequence, but the error occurs with the following statement.

Locals.UserRef.AsUser.Privileges.SetPropertyObject(Priv_GrantAll, PropOption_NoOptions, Parameters.Privileges.GrantAllFlag)

I've used this method in other sequences, but I can't seem to figure out whats causing the error here. Any help or pointers to where I could look would be appreciated.

 

I'm using TestStand 2016 (32-bit).

 

Thanks,

Luis


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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