SyntaxInGroup(group)ParametersParameterTypeDetailsgrouptextrequiredReturnsbooleanExampleInGroup("Sales")In the same familyCurrentUserHasRoleUserNamePreviousHasRoleNextUserName