VistaDB 6
VistaDB.Web Namespace / VistaDBRoleProvider Class / GetUsersInRole Method
The name of the role to get the list of users for.


In This Topic
    GetUsersInRole Method
    In This Topic
    Gets a list of users in the specified role for the configured applicationName.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetUsersInRole( _
       ByVal roleName As System.String _
    ) As System.String()
    'Usage
     
    
    Dim instance As VistaDBRoleProvider
    Dim roleName As System.String
    Dim value() As System.String
     
    value = instance.GetUsersInRole(roleName)
    public override System.string[] GetUsersInRole( 
       System.string roleName
    )

    Parameters

    roleName
    The name of the role to get the list of users for.

    Return Value

    A string array containing the names of all the users who are members of the specified role for the configured applicationName.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also