GetUsers() method of K2Manager dll

  • 19 November 2007
  • 2 replies
  • 0 views

Badge +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

Badge +9
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.
Badge +9

Hi All,


Thanks a lot for replying.


Can any one of you try it using SQLUM ?


Thanks and Regards

Reply