Share via


OrganizationProfile.GetUsers method

NOTE: This API is now obsolete.

Gets all members of this organization whose membership type matches the specified Microsoft.Office.Server.UserProfiles.OrganizationMembershipType.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is no longer supported.")> _
Public Function GetUsers ( _
    type As OrganizationMembershipType _
) As UserProfile()
'Usage
Dim instance As OrganizationProfile
Dim type As OrganizationMembershipType
Dim returnValue As UserProfile()

returnValue = instance.GetUsers(type)
[ObsoleteAttribute("This class is no longer supported.")]
public UserProfile[] GetUsers(
    OrganizationMembershipType type
)

Parameters

Return value

Type: []

See also

Reference

OrganizationProfile class

OrganizationProfile members

Microsoft.Office.Server.UserProfiles namespace