Skip to main content
Nintex Community Menu Bar

Using the SmartObjects tab in the add role item to assign users to roles

  • May 12, 2009
  • 6 replies
  • 11 views

Forum|alt.badge.img+11

Hi


I once read that users can be assigned from sharepoint groups to the destination rule; it seems that it didnt worrk for me.


Now I want to Get/Assign users from SHAREPOINT groups and assign them to roles; i had to to this due to the fact that the add role item in the Management console only adds users/Groups in the Active Directory.


The other tab in the add role item is smartobjects; I just want to know how it is used and how to add a smartobject to it.and how to get users from sharepoint groups and assin them to a certain role.

6 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • May 13, 2009

There is a blackmarket project for a custom service broker which pulls the users from the SharePoint group.  Have you looked at it?


http://k2underground.com/k2/ProjectHome.aspx?ProjectID=8


Forum|alt.badge.img+11
  • Author
  • May 13, 2009

it seems that on the sharepoint site exists a webservice called UserGroup.asmx


it is located on http://<SharepointSite>/_vti_bin/UserGroup.asmx


 


Forum|alt.badge.img+9
  • Nintex Partner
  • May 14, 2009

I don't think you can use that directly as the user values are not returned in the correct K2 format.  i.e. K2:DomainUserName.


 I believe the custom service broker does that for you.


Forum|alt.badge.img+11
  • Author
  • May 14, 2009
can you give me a name of such custom service broker

Forum|alt.badge.img+9
  • Nintex Partner
  • May 14, 2009
Did you see the project link that I posted above?

Forum|alt.badge.img+11
  • Author
  • May 14, 2009
I already did; but i hope if there is a comprehensive solution that shows all the way.