func (account *SSOAccount) GetPrincipalIdsForPermissionSet(permissionset SSOPermissionSet) []string {
	accountchildren := []string{}
	for _, assignment := range account.AccountAssignments {
		if assignment.PermissionSet.Name == permissionset.Name {
			accountchildren = append(accountchildren, assignment.PrincipalID)
		}
	}
	return accountchildren
}
//GetPrincipalIdsForPermissionSet returns the ids of the principals that have been assigned to the provided permission set
GetPrincipalIdsForPermissionSet returns the ids of the principals that have been assigned to the provided permission set
// GetPrincipalIdsForPermissionSet returns the ids of the principals that have been assigned to the provided permission set
func (account *SSOAccount) GetPrincipalIdsForPermissionSet(permissionset SSOPermissionSet) []string {
	accountchildren := []string{}
	for _, assignment := range account.AccountAssignments {
		if assignment.PermissionSet.Name == permissionset.Name {
			accountchildren = append(accountchildren, assignment.PrincipalID)
		}
	}
	return accountchildren
}
func ( account * SSOAccount ) GetPrincipalIdsForPermissionSet ( permissionset SSOPermissionSet ) [ ] string { accountchildren := [ ] string { } for _ , assignment := range account . AccountAssignments { if assignment . PermissionSet . Name == permissionset . Name { accountchildren = append ( accountchildren , assignment . PrincipalID ) } } return accountchildren }
GetPrincipalIdsForPermissionSet returns the ids of the principals that have been assigned to the provided permission set
GetPrincipalIdsForPermissionSet returns the ids of the principals that have been assigned to the provided permission set