You are viewing limited content. For full access, please sign in.

Question

Question

get security information template

SDK
asked on January 4, 2018

hello, I am developing an application that should show in a combo the list of templates of the repository, but if I select x user it should only show the templates to which it has access.

Do you know how I can get the list of users who have access to the template?

0 0

Answer

SELECTED ANSWER
replied on January 4, 2018

It sounds like you might want to approach it from the other direction. Instead of trying to get a full list of who has access to templates, you should be able to check the options against the selected user.

For example, when a user is selected, you could fire off a process that runs GetEffectiveRights on each TemplateInfo object and only lists the ones to which the user has access.

1 0
replied on January 4, 2018

thanks for the reply.

Now, I'm just beginning to develop with the SDK, so I do not know much about the sentences needed to do what you say.

Could you help me with some basic sentences? I would greatly appreciate it

0 0
replied on January 4, 2018

I have never actually used those methods personally so I don't have any sample code, but if you search "Effective Rights" in the SDK documentation you should find enough to get you pointed in the right direction.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.