Zum Hauptinhalt gehen

GetCurrentUser item to determine role membership

Kommentare

2 Kommentare

  • Permanently deleted user

    'Roles' from GetCurrentUser activity is with a dataType as 'IEnumerable<string>' (refer http://www.dotnetperls.com/ienumerable-vbnet).

    So you can loop Roles using 'For-Each <T>' activity (or 'Paralle For Each <T>' activity), and check which roles a Username (which is also from GetCurrentUser activity) belongs too).

    Wow! you learned Turing marchin from High school? cool!.

    If you explore more a new way loop thorough the collection data type, I recommend to check the Linq: http://msdn.microsoft.com/en-ca/vstudio/bb688088.aspx

    Wish this helps you out.

     

    0
  • Permanently deleted user

    I ended up going with the parallel activity which worked.  Thank you for pointing me in the right direction.  My workflow works as intended.

    Cecil

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.