BlogEngine.Core.Providers.XmlRoleProvider.GetUsersInRole C# (CSharp) Method

GetUsersInRole() public method

Gets a list of users in the specified role for the configured applicationName.
public GetUsersInRole ( string roleName ) : string[]
roleName string /// The name of the role to get the list of users for. ///
return string[]
        public override string[] GetUsersInRole(string roleName)
        {
            ReadRoleDataStore();
            return (from role in this.roles[Blog.CurrentInstance.Id]
                    where role.Name.Equals(roleName, StringComparison.OrdinalIgnoreCase)
                    from user in role.Users
                    select user.ToLowerInvariant()).ToArray();
        }