diff --git a/structr-ui/src/main/resources/structr/js/security.js b/structr-ui/src/main/resources/structr/js/security.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/security.js
+++ b/structr-ui/src/main/resources/structr/js/security.js
@@ -189,7 +189,7 @@ var _UsersAndGroups = {
 			return;
 		}
 
-		if (member.type === 'User') {
+		if (member.isUser) {
 
 			var userDiv = _UsersAndGroups.createUserElement(member, group);
Fixes icon for LDAP users that are members of a group.