Skip to main content
Nintex Community Menu Bar

GetUsers() method of K2Manager dll

  • November 19, 2007
  • 2 replies
  • 15 views

Forum|alt.badge.img+9

Hi All,


Can anyone please clarify , what Exactly GetUsers() method of K2Manager Dll does ?


I tried using it by instatntiating K2Manager Class and passing a username as input . The user doesnot exist. But still then I am getting the Count as 1.


The following is the code snippet :


Users

Usrs = Kmg.GetUsers("UnKnown", null);


textBox30.Text = Usrs.Count.ToString();


 


The User "UnKnown" does not exist . Yet Usrs.Count returns 1 .


I am using SQLUM.


 


Please guide.


Thanks and Regards

2 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • November 19, 2007
I agree with Blake as the Anonymous user (used for SharePoint initiated processes) is always returned; thus had a valid user been passed in, then the resulting collection would have a count of 2.

Forum|alt.badge.img+9
  • Author
  • November 20, 2007

Hi All,


Thanks a lot for replying.


Can any one of you try it using SQLUM ?


Thanks and Regards